Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove some artifacts of dependent_restrict_raises that I missed

  • Loading branch information...
commit 09d2671cb660af7371dea5325712142732e90283 1 parent 6bb8afb
@jonleighton jonleighton authored
View
1  railties/test/generators/app_generator_test.rb
@@ -213,7 +213,6 @@ def test_generator_if_skip_active_record_is_given
assert_no_file "config/database.yml"
assert_file "config/application.rb", /#\s+require\s+["']active_record\/railtie["']/
assert_file "config/application.rb", /#\s+config\.active_record\.whitelist_attributes = true/
- assert_file "config/application.rb", /#\s+config\.active_record\.dependent_restrict_raises = false/
assert_file "test/test_helper.rb" do |helper_content|
assert_no_match(/fixtures :all/, helper_content)
end
View
1  railties/test/isolation/abstract_unit.rb
@@ -253,7 +253,6 @@ def use_frameworks(arr)
:activerecord] - arr
if to_remove.include? :activerecord
remove_from_config "config.active_record.whitelist_attributes = true"
- remove_from_config "config.active_record.dependent_restrict_raises = false"
end
$:.reject! {|path| path =~ %r'/(#{to_remove.join('|')})/' }
end
Please sign in to comment.
Something went wrong with that request. Please try again.