test/hyperclient/entry_point_test.rb in hyperclient-0.8.1 vs test/hyperclient/entry_point_test.rb in hyperclient-0.8.2

- old
+ new

@@ -1,7 +1,7 @@ require_relative '../test_helper' -require 'hyperclient/entry_point' +require 'hyperclient' module Hyperclient describe EntryPoint do describe 'default' do let(:entry_point) do @@ -52,9 +52,15 @@ end describe 'initialize' do it 'sets a Link with the entry point url' do entry_point._url.must_equal 'http://my.api.org' + end + end + + describe 'options' do + it 'enables the async option by default' do + entry_point.options[:async].must_equal true end end end describe 'faraday_options' do