diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2016-07-26 22:02:38 -0300 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2016-07-26 22:04:56 -0300 |
commit | 1a2f1c48bdeda5df88e8031fe51943527ebc381e (patch) | |
tree | d79de419d72dcfb5108f732c62b2dad3c8e965d3 /actionpack/test/controller | |
parent | d980abdb23f70409dfec90306cbf5ce9d9df17d7 (diff) | |
download | rails-1a2f1c48bdeda5df88e8031fe51943527ebc381e.tar.gz rails-1a2f1c48bdeda5df88e8031fe51943527ebc381e.tar.bz2 rails-1a2f1c48bdeda5df88e8031fe51943527ebc381e.zip |
There are some cases where @@app is not defined
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r-- | actionpack/test/controller/integration_test.rb | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/actionpack/test/controller/integration_test.rb b/actionpack/test/controller/integration_test.rb index 5a711ae150..3b89531e90 100644 --- a/actionpack/test/controller/integration_test.rb +++ b/actionpack/test/controller/integration_test.rb @@ -397,25 +397,6 @@ class IntegrationTestUsesCorrectClass < ActionDispatch::IntegrationTest end end -class IntegrationTestDefaultApp < ActionDispatch::IntegrationTest - def setup - @app = self.class.app - self.class.app = nil - - @test_app = ActionDispatch.test_app - ActionDispatch.test_app = 'fake_app' - end - - def teardown - self.class.app = @app - ActionDispatch.test_app = @test_app - end - - def test_class_app_returns_ad_test_app_by_default - assert_equal 'fake_app', self.class.app - end -end - class IntegrationProcessTest < ActionDispatch::IntegrationTest class IntegrationController < ActionController::Base def get |