diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-07-03 00:16:53 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-07-03 00:16:53 +0900 |
commit | 6aa658e329e54f94519268a02b29dc102b415c07 (patch) | |
tree | c20dd46d904df148114a02f7fcd6dcd2285539a4 /railties/test/application | |
parent | a8427bbb15508bc23eb05c273692bd21b37ec195 (diff) | |
download | rails-6aa658e329e54f94519268a02b29dc102b415c07.tar.gz rails-6aa658e329e54f94519268a02b29dc102b415c07.tar.bz2 rails-6aa658e329e54f94519268a02b29dc102b415c07.zip |
Remove redundant `assert_respond_to`
It is covered by following assertion.
Diffstat (limited to 'railties/test/application')
-rw-r--r-- | railties/test/application/configuration_test.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/railties/test/application/configuration_test.rb b/railties/test/application/configuration_test.rb index 06767167a9..95a2cc2d31 100644 --- a/railties/test/application/configuration_test.rb +++ b/railties/test/application/configuration_test.rb @@ -176,13 +176,11 @@ module ApplicationTests test "Rails.application responds to all instance methods" do app "development" - assert_respond_to Rails.application, :routes_reloader assert_equal Rails.application.routes_reloader, AppTemplate::Application.routes_reloader end test "Rails::Application responds to paths" do app "development" - assert_respond_to AppTemplate::Application, :paths assert_equal ["#{app_path}/app/views"], AppTemplate::Application.paths["app/views"].expanded end @@ -1220,7 +1218,6 @@ module ApplicationTests test "Rails.application#env_config exists and include some existing parameters" do make_basic_app - assert_respond_to app, :env_config assert_equal app.env_config["action_dispatch.parameter_filter"], app.config.filter_parameters assert_equal app.env_config["action_dispatch.show_exceptions"], app.config.action_dispatch.show_exceptions assert_equal app.env_config["action_dispatch.logger"], Rails.logger |