Skip to content

Commit b5a6db0

Browse files
committed
Configure Rails.root to be test app dir
1 parent 9e288bc commit b5a6db0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/fake_app.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class Application < Rails::Application
1111
config.session_store :cookie_store, :key => '_myapp_session'
1212
config.active_support.deprecation = :log
1313
config.eager_load = false
14+
config.root = __dir__
1415
end
1516
end
1617
ActionArgsTestApp::Application.initialize!

0 commit comments

Comments
 (0)