diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-06-16 08:32:59 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-06-16 08:32:59 +0200 |
commit | 4ce99ae347e794bffb468c654afc07d2722bac99 (patch) | |
tree | 729c6ad11bf14e9710139cdd44e6d4eff394dad0 /actionpack | |
parent | 01c109a0278750bc740fe711adb7f5336be40220 (diff) | |
parent | 70312d224a812c4e4b25fdb172284a82bedd0a64 (diff) | |
download | rails-4ce99ae347e794bffb468c654afc07d2722bac99.tar.gz rails-4ce99ae347e794bffb468c654afc07d2722bac99.tar.bz2 rails-4ce99ae347e794bffb468c654afc07d2722bac99.zip |
Merge pull request #15743 from tgxworld/remove_unused_parameters
Remove unused parameter.
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 af3bc26691..17765d851b 100644 --- a/actionpack/lib/action_dispatch/testing/integration.rb +++ b/actionpack/lib/action_dispatch/testing/integration.rb @@ -347,7 +347,7 @@ module ActionDispatch # By default, a single session is automatically created for you, but you # can use this method to open multiple sessions that ought to be tested # simultaneously. - def open_session(app = nil) + def open_session dup.tap do |session| yield session if block_given? end |