Permalink
Browse files

Add tmp route file path to mock app

  • Loading branch information...
1 parent 84f5c40 commit 602050688b94bcfdf6976c6134d68f9048448a78 @enriclluelles committed Feb 19, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 test/test_helper.rb
View
@@ -37,6 +37,7 @@ def setup_application
app = @@app = Class.new(Rails::Application)
app.config.active_support.deprecation = :stderr
app.paths["log"] = "#{tmp_path}/log/test.log"
+ app.paths["config/routes"] = File.join(app_path, routes_config)
app.initialize!
Rails.application = app
end

0 comments on commit 6020506

Please sign in to comment.