test/excon/response_test.rb in excon-hypermedia-0.5.2 vs test/excon/response_test.rb in excon-hypermedia-0.5.3
- old
+ new
@@ -7,10 +7,10 @@
#
# Validate the workings of `Excon::HyperResource::ResourceObject`.
#
class ResponseTest < HyperMediaTest
def response
- @response ||= Excon.get('https://example.org/product/bicycle')
+ bicycle
end
def test_response
assert_equal Excon::Response, response.class
end