test/test_vacuum.rb in vacuum-1.2.0 vs test/test_vacuum.rb in vacuum-1.3.0
- old
+ new
@@ -19,9 +19,17 @@
def test_defaults_to_us_endpoint
assert_equal 'http://webservices.amazon.com/onca/xml', @req.aws_endpoint
end
+ def test_defaults_to_latest_api_version
+ assert_equal Request::LATEST_VERSION, @req.version
+ end
+
+ def test_accepts_uk_as_locale
+ Request.new("UK")
+ end
+
def test_fetches_parsable_response
Excon.stub({}, body: '<foo/>')
res = @req.item_lookup({}, mock: true)
refute_empty res.parse
end