diff --git a/test/test_helper.rb b/test/test_helper.rb index 4597a78faf..ab41708fcb 100644 --- a/test/test_helper.rb +++ b/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)