test/unit/mws/test_sellers_client.rb in peddler-0.15.0 vs test/unit/mws/test_sellers_client.rb in peddler-0.16.0

- old
+ new

@@ -40,6 +40,18 @@ @client.get_service_status end assert_equal operation, @client.operation end + + def test_gets_auth_token + operation = { + 'Action' => 'GetAuthToken' + } + + @client.stub(:run, nil) do + @client.get_auth_token + end + + assert_equal operation, @client.operation + end end