Remove superfluous begin in test_helper #teardown

Signed-off-by: Alex Coles <alex@alexbcoles.com>
pull/1461/head
Alex Coles 10 years ago
parent d30f52a93a
commit 5708856c81
  1. 2
      test/test_helper.rb

@ -98,7 +98,6 @@ class ActiveSupport::TestCase
end
def teardown
begin
super
# verifies method invocations
RSpec::Mocks.verify
@ -106,7 +105,6 @@ class ActiveSupport::TestCase
# removes all mockings
RSpec::Mocks.teardown
end
end
def log_user(login, password)
User.anonymous

Loading…
Cancel
Save