Permalink
Browse files

remove some artifacts of dependent_restrict_raises that I missed

  • Loading branch information...
1 parent 6bb8afb commit 09d2671cb660af7371dea5325712142732e90283 @jonleighton jonleighton committed Aug 10, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −1 railties/test/generators/app_generator_test.rb
  2. +0 −1 railties/test/isolation/abstract_unit.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
@@ -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

0 comments on commit 09d2671

Please sign in to comment.