test/middleware_test.rb in 3scale_client-2.10.0 vs test/middleware_test.rb in 3scale_client-2.11.0
- old
+ new
@@ -37,9 +37,9 @@
end
def test_nil_authenticator
authenticator = ThreeScale::Middleware::NilAuthenticator.new(mock)
assert authenticator.provided?
- assert_equal(nil, authenticator.credentials)
+ assert_nil authenticator.credentials
assert authenticator.to_proc.call(nil, nil)
end
end