test/unit/peddler/test_client.rb in peddler-0.7.9 vs test/unit/peddler/test_client.rb in peddler-0.7.10

- old
+ new

@@ -31,9 +31,16 @@ def test_configures_path @klass.path('/Foo') assert @client.aws_endpoint.match(%r{/Foo$}) end + def test_instance_path_overrides_class_path + @klass.path('/Foo') + + @client.path = '/Foo/Bar' + assert @client.aws_endpoint.match(%r{/Foo/Bar$}) + end + def test_default_path assert_equal '/', @klass.path end def test_has_user_agent