diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2016-08-01 11:16:59 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-01 11:16:59 -0300 |
commit | 7732cf5b0f4f3ce3f97eb14bf50a3f3300a7f9b1 (patch) | |
tree | 835d60e6ab5cb52b8f3c82247ce6bc0dc65eabc6 /railties | |
parent | de55a098404e5ea01918c47818c7d1c9827cb533 (diff) | |
parent | e3fc35b5d68b66d5fa165baf69bf76c1110bb512 (diff) | |
download | rails-7732cf5b0f4f3ce3f97eb14bf50a3f3300a7f9b1.tar.gz rails-7732cf5b0f4f3ce3f97eb14bf50a3f3300a7f9b1.tar.bz2 rails-7732cf5b0f4f3ce3f97eb14bf50a3f3300a7f9b1.zip |
Merge pull request #26004 from y-yagi/remove_unnecessary_require_and_extend
remove unnecessary require and extend
Diffstat (limited to 'railties')
-rw-r--r-- | railties/test/railties/engine_test.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/railties/test/railties/engine_test.rb b/railties/test/railties/engine_test.rb index 0eaa5bc351..fb8de84e1b 100644 --- a/railties/test/railties/engine_test.rb +++ b/railties/test/railties/engine_test.rb @@ -36,8 +36,6 @@ module RailtiesTest add_to_env_config "development", "config.assets.digest = false" boot_rails - require 'rack/test' - extend Rack::Test::Methods get "/assets/engine.js" assert_match "alert()", last_response.body @@ -321,8 +319,6 @@ module RailtiesTest RUBY boot_rails - require 'rack/test' - extend Rack::Test::Methods get "/sprokkit" assert_equal "I am a Sprokkit", last_response.body @@ -359,8 +355,6 @@ module RailtiesTest RUBY boot_rails - require 'rack/test' - extend Rack::Test::Methods get '/foo' assert_equal 'foo', last_response.body @@ -449,8 +443,6 @@ YAML RUBY boot_rails - require 'rack/test' - extend Rack::Test::Methods get "/admin/foo/bar" assert_equal 200, last_response.status |