diff options
author | Azul <azul@riseup.net> | 2017-12-08 21:34:14 +0100 |
---|---|---|
committer | Azul <azul@riseup.net> | 2017-12-08 21:34:14 +0100 |
commit | 7120117687e2e6078d7e94ddb9e8b93e8ad5f2e3 (patch) | |
tree | de610d5ef7146c073b7129a20762838d78aeca03 /test | |
parent | d839bed40fb7901ea88395d4ba06e58f4b3cc88a (diff) |
upgrade: fix mocha deprecation
Diffstat (limited to 'test')
-rw-r--r-- | test/support/auth_test_helper.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/support/auth_test_helper.rb b/test/support/auth_test_helper.rb index acc6076..df008e5 100644 --- a/test/support/auth_test_helper.rb +++ b/test/support/auth_test_helper.rb @@ -53,9 +53,8 @@ module AuthTestHelper end def expect_warden_logout - raw = mock('raw session') do - expects(:inspect) - end + raw = mock('raw session') + raw.expects(:inspect) request.env['warden'].expects(:raw_session).returns(raw) request.env['warden'].expects(:logout) end |