test/hyperclient/entry_point_test.rb in hyperclient-0.4.0 vs test/hyperclient/entry_point_test.rb in hyperclient-0.5.0

- old
+ new

@@ -17,18 +17,19 @@ entry_point.headers['Accept'].must_equal 'application/json' end it 'creates a Faraday connection with the default block' do handlers = entry_point.connection.builder.handlers + handlers.must_include FaradayMiddleware::FollowRedirects handlers.must_include FaradayMiddleware::EncodeJson handlers.must_include FaradayMiddleware::ParseJson handlers.must_include Faraday::Adapter::NetHttp end end describe 'initialize' do it 'sets a Link with the entry point url' do - entry_point.url.must_equal 'http://my.api.org' + entry_point._url.must_equal 'http://my.api.org' end end end -end \ No newline at end of file +end