forked from AgileVentures/shf-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove company number from membership application, restructure copy<>…
…application associations (AgileVentures#486) * migration done, seeding works, started model work * progress on model specs * rspec controller tests * interim progress - cuke tests * working on cuke tests and UI view changes * working on errors exposed by cuke tests * more changes arising from tests * more work on cuke test changes * rspec test changes * fixed cuke test * adjusted shf update action logic * removed cmpy destroy when app is rejected * fixed app update action when no company_number in form * changed FactoryGirl to FactoryBot * fixed error introduced by develop merge * refactoring app controller update action * fixed cmpy-delete cuke tests * fixed app update action logic * baseline for restructuring created app association with cmpy * app create/update allow select cmpy_number (or create cmpy) * adjusted rspec tests * interim progress on cuke tests * finished cuke tests changes * fixed some hound issues * changed logic to prevent exposing company numbers to user * adjusted styling * fixed seeds.rb and rspect tests * adjusted app-form styling for new-co link * add id to orgnum entry to tie to field label * adjusted cuke tests for orgnummer entry (vs. selection) * fixed helper spec test * restructure cuke tests size_validation * added page reload in cuke test * added wait in cuke test * added ajax-wait steps to cuke test * added page reload - cuke test * undo prior changes to cuke test * restructure cuke test * added wait in cuke test * added exc handling to retry on "stale element" exception * changed form references to IDs to avoid ambiguous fill_in error * adjusted migrations and seeding * adjusted migrate logic after reviewing prod data migration * adjusted migrate logic * more adjusts to migration logic * merged from develop * refactored cmpys JS to reduce flaky cuke test likelihood * modified db schema with migration
- Loading branch information
1 parent
6f171ed
commit f49d7ae
Showing
66 changed files
with
1,177 additions
and
640 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
class CompanyApplication < ApplicationRecord | ||
belongs_to :company | ||
belongs_to :shf_application | ||
|
||
validates_presence_of :company, :shf_application | ||
|
||
validates_uniqueness_of :company_id, scope: :shf_application | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.