test/test_vacuum.rb in vacuum-0.5.0 vs test/test_vacuum.rb in vacuum-1.0.0
- old
+ new
@@ -1,11 +1,12 @@
require 'minitest/autorun'
+require 'minitest/pride'
require_relative '../lib/vacuum'
class TestVacuum < Minitest::Test
include Vacuum
- def test_request_valid_locale
+ def test_requires_valid_locale
assert_raises(Request::BadLocale) { Request.new('foo') }
end
def test_defaults_to_us_endpoint
assert_equal 'http://webservices.amazon.com/onca/xml', Request.new.aws_endpoint