forked from ManageIQ/manageiq-schema
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Temporary override of the belongs_to_required_by_default setting
Temporary override of the belongs_to_required_by_default settomgs until we can change the migrations specs to honor it
- Loading branch information
Showing
2 changed files
with
10 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
describe "belongs_to_required_by_default" do | ||
it "should be the default value of true", :skip => "Skipped until all migrations specs are changed to work with the default value" do | ||
# NOTE: Once all migrations are changed, we can remove this test. It is here to act as a reminder. | ||
expect(Rails.application.config.active_record.belongs_to_required_by_default).to be true | ||
end | ||
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