fix tests

This commit is contained in:
Andrew Thorp 2014-01-27 08:44:09 -06:00
parent c880d6a277
commit 02b40e6637

View File

@ -112,7 +112,7 @@ module Stripe
if RUBY_VERSION < '1.9.2'
def respond_to?(symbol)
@values.has_key?(symbol) || super
@values && @values.has_key?(symbol) || super
end
end
@ -180,7 +180,7 @@ module Stripe
end
def respond_to_missing?(symbol, include_private = false)
@values.has_key?(symbol) || super
@values && @values.has_key?(symbol) || super
end
end
end