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 end
def teardown def teardown
begin super
super # verifies method invocations
# verifies method invocations RSpec::Mocks.verify
RSpec::Mocks.verify ensure
ensure # removes all mockings
# removes all mockings RSpec::Mocks.teardown
RSpec::Mocks.teardown
end
end end
def log_user(login, password) def log_user(login, password)

Loading…
Cancel
Save