aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorPiotr Sarnacki <drogus@gmail.com>2011-11-25 12:42:11 +0100
committerPiotr Sarnacki <drogus@gmail.com>2011-11-25 12:45:58 +0100
commitc9bb099318dd3bc293a6cb4672333147c1cce4b9 (patch)
tree71a1b38c5a81f5fb5ed7f5cc59587087fdc2d4fa /railties/test
parentfcacc6986ab60f1fb2e423a73bf47c7abd7b191d (diff)
downloadrails-c9bb099318dd3bc293a6cb4672333147c1cce4b9.tar.gz
rails-c9bb099318dd3bc293a6cb4672333147c1cce4b9.tar.bz2
rails-c9bb099318dd3bc293a6cb4672333147c1cce4b9.zip
Display mounted engines in `rake routes` by default
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/application/route_inspect_test.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/railties/test/application/route_inspect_test.rb b/railties/test/application/route_inspect_test.rb
index 130d4e52f8..2ad5ee6c4c 100644
--- a/railties/test/application/route_inspect_test.rb
+++ b/railties/test/application/route_inspect_test.rb
@@ -11,8 +11,6 @@ module ApplicationTests
end
def test_displaying_routes_for_engines
- ENV["ENGINES"] = "true"
-
engine = Class.new(Rails::Engine) do
def self.to_s
"Blog::Engine"
@@ -35,8 +33,6 @@ module ApplicationTests
"cart GET /cart(.:format) cart#show"
]
assert_equal expected, output
- ensure
- ENV["ENGINES"] = nil
end
def test_cart_inspect