diff options
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 |