spec/woopy/client_spec.rb in woopy-0.1.7 vs spec/woopy/client_spec.rb in woopy-0.1.8
- old
+ new
@@ -45,9 +45,9 @@
end
end
def mock_verify(status_code)
ActiveResource::HttpMock.respond_to do |mock|
- mock.get '/services/v1/verify', {"Accept" => "application/json", "X-WoopleToken" => @token }, '', status_code
+ mock.get '/services/v1/verify', {"Accept" => "application/json", "X-WoopleToken" => @token }, '', status_code.to_i
end
end
end