Skip to content

Commit

Permalink
chore: demonstrate pact-support issue 40, query params in consumer re…
Browse files Browse the repository at this point in the history
…q are ignored if not spec
  • Loading branch information
YOU54F committed Aug 15, 2024
1 parent 01dfa81 commit c179a92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consumer/spec/bar_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

# This request would normally be performed some BarClient class,
# but just use simple request for the purposes of this test
bar_response = Faraday.get(bar_service.mock_service_base_url + "/thing", nil, {'Accept' => 'application/json'})
bar_response = Faraday.get(bar_service.mock_service_base_url + "/thing?foo=bar", nil, {'Accept' => 'application/json'})

# This would normally be checking the results of some deserialisation process,
# (eg. check for an array of Factory classes )
Expand Down

0 comments on commit c179a92

Please sign in to comment.