diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2010-07-19 14:53:15 +0200 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2010-09-03 22:59:04 +0200 |
commit | 939d4255e690bd0406179cad00836975273fd49e (patch) | |
tree | 1753974a2221210ebd6b68b14d1db45951b3fddd /railties/test | |
parent | 7cccfed5943cddd6d72ed0df0ee7291cca9025ad (diff) | |
download | rails-939d4255e690bd0406179cad00836975273fd49e.tar.gz rails-939d4255e690bd0406179cad00836975273fd49e.tar.bz2 rails-939d4255e690bd0406179cad00836975273fd49e.zip |
Removed most of deprecated stuff from Application and Engine
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/application/configuration_test.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/railties/test/application/configuration_test.rb b/railties/test/application/configuration_test.rb index d63d25b42e..2da695b78e 100644 --- a/railties/test/application/configuration_test.rb +++ b/railties/test/application/configuration_test.rb @@ -125,22 +125,6 @@ module ApplicationTests assert !ActionController.autoload?(:RecordIdentifier) end - test "runtime error is raised if config.frameworks= is used" do - add_to_config "config.frameworks = []" - - assert_raises RuntimeError do - require "#{app_path}/config/environment" - end - end - - test "runtime error is raised if config.frameworks is used" do - add_to_config "config.frameworks -= []" - - assert_raises RuntimeError do - require "#{app_path}/config/environment" - end - end - test "filter_parameters should be able to set via config.filter_parameters" do add_to_config <<-RUBY config.filter_parameters += [ :foo, 'bar', lambda { |key, value| |