spec/support/fake_wego_api.rb in wego-0.2.1 vs spec/support/fake_wego_api.rb in wego-0.2.2
- old
+ new
@@ -12,10 +12,10 @@
end
def stub_search_result_api(search_id:, hotel_id:, **options)
stub_api_response(
"search/#{search_id}",
- options.merge(hotel_id: hotel_id),
+ options.merge(hotel_id: hotel_id).compact,
filename: "result"
)
end
def stub_invalid_search_result_api(search_id:, hotel_id:, **options)