diff --git a/test/integration/test_cas.rb b/test/integration/test_cas.rb index 9f7fc944..7b7fb7b6 100644 --- a/test/integration/test_cas.rb +++ b/test/integration/test_cas.rb @@ -164,7 +164,7 @@ # Accepts CAS, replaces, and returns new CAS cas = dc.replace_cas('key', 'value2', cas) - assert cas.is_a?(Integer) + assert_kind_of Integer, cas assert_equal 'value2', dc.get('key') end