lib/airborne/request_expectations.rb in airborne-0.2.8 vs lib/airborne/request_expectations.rb in airborne-0.2.9
- old
+ new
@@ -265,10 +265,10 @@
def resolve_status(candidate, authority)
candidate = Rack::Utils::SYMBOL_TO_STATUS_CODE[candidate] if candidate.is_a?(Symbol)
case authority
when String then candidate.to_s
- when Fixnum then candidate.to_i
+ when Integer then candidate.to_i
else candidate
end
end
def match_none?