test/test_integration.rb in vacuum-2.0.1 vs test/test_integration.rb in vacuum-2.0.2
- old
+ new
@@ -25,9 +25,17 @@
def teardown
VCR.eject_cassette
end
+ def test_happy_path
+ req = Vacuum.new
+ req.associate_tag = 'foo'
+ params = { 'SearchIndex' => 'All', 'Keywords' => 'vacuum' }
+ res = req.item_search(query: params)
+ assert res.dig('ItemSearchResponse', 'Items', 'Item')
+ end
+
def test_encoding_issues
params = { 'SearchIndex' => 'All', 'Keywords' => 'google' }
titles = %w[BR CA CN DE ES FR GB IN IT JP US MX].flat_map do |locale|
req = Vacuum.new(locale)
req.associate_tag = 'foo'