diff --git a/spec/features/new_project_spec.rb b/spec/features/new_project_spec.rb index be19738b0..0ec27c6fd 100644 --- a/spec/features/new_project_spec.rb +++ b/spec/features/new_project_spec.rb @@ -109,6 +109,14 @@ ) end + it "prevents strict loading in development" do + result = IO.read("#{project_path}/config/environments/development.rb") + + expect(result).to match( + /^ +config.active_record.strict_loading_by_default = true$/ + ) + end + it "adds explicit quiet_assets configuration" do result = IO.read("#{project_path}/config/application.rb")