diff options
author | Emilio Tagua <miloops@gmail.com> | 2010-09-28 15:10:15 -0300 |
---|---|---|
committer | Emilio Tagua <miloops@gmail.com> | 2010-09-28 15:10:15 -0300 |
commit | b8c565fbd68343b419b05a53b4e1844062d1197e (patch) | |
tree | 564dc1f77d509068195124b87bde455f1b425c7c /actionpack | |
parent | 197a995bc548e206bb907c40d75f8ed70fa5a923 (diff) | |
download | rails-b8c565fbd68343b419b05a53b4e1844062d1197e.tar.gz rails-b8c565fbd68343b419b05a53b4e1844062d1197e.tar.bz2 rails-b8c565fbd68343b419b05a53b4e1844062d1197e.zip |
Initialize @app if it doesn't exists.
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/testing/integration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/testing/integration.rb b/actionpack/lib/action_dispatch/testing/integration.rb index 3204115e9f..8c05462d0d 100644 --- a/actionpack/lib/action_dispatch/testing/integration.rb +++ b/actionpack/lib/action_dispatch/testing/integration.rb @@ -308,7 +308,7 @@ module ActionDispatch include ActionDispatch::Assertions def app - @app + @app ||= nil end # Reset the current session. This is useful for testing multiple sessions |