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. 14
      test/test_helper.rb

@ -98,14 +98,12 @@ class ActiveSupport::TestCase
end
def teardown
begin
super
# verifies method invocations
RSpec::Mocks.verify
ensure
# removes all mockings
RSpec::Mocks.teardown
end
super
# verifies method invocations
RSpec::Mocks.verify
ensure
# removes all mockings
RSpec::Mocks.teardown
end
def log_user(login, password)

Loading…
Cancel
Save