features/steps/api_navigation.rb in hyperclient-0.8.6 vs features/steps/api_navigation.rb in hyperclient-0.9.0
- old
+ new
@@ -16,10 +16,10 @@
step 'the API should receive the request with all the params' do
assert_requested :get, 'http://api.example.org/search?q=something'
end
step 'I search for posts by tag with a templated link' do
- api._links.tagged._expand(tags: %w(foo bar))._resource
+ api._links.tagged._expand(tags: %w[foo bar])._resource
end
step 'the API should receive the request for posts by tag with all the params' do
assert_requested :get, 'http://api.example.org/search?tags=foo&tags=bar'
end