Permalink
Browse files

Fix missing Rails.env in route inspect tests

  • Loading branch information...
1 parent 47be2f1 commit 568ae222afa855402b94744112434833313f44fd @wycats wycats committed Apr 25, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 railties/test/application/route_inspect_test.rb
@@ -13,6 +13,7 @@ def setup
app.config.assets = ActiveSupport::OrderedOptions.new
app.config.assets.prefix = '/sprockets'
Rails.stubs(:application).returns(app)
+ Rails.stubs(:env).returns("development")
end
def test_displaying_routes_for_engines

0 comments on commit 568ae22

Please sign in to comment.