Sha256: ac32f844e778651ff5dddea74c9ce13dd94527d9fdb6087693921e9ceac0518b
Contents?: true
Size: 438 Bytes
Versions: 10
Compression:
Stored size: 438 Bytes
Contents
require 'test_helper' class TaxServiceTest < Test::Unit::TestCase test "tax service creation" do fake "tax_services", :method => :post, :status => 202, :body => load_fixture('tax_service') tax_service = ShopifyAPI::TaxService.create(:name => "My Tax Service", :url => "https://mytaxservice.com") assert_equal '{"tax_service":{"name":"My Tax Service","url":"https://mytaxservice.com"}}', WebMock.last_request.body end end
Version data entries
10 entries across 10 versions & 1 rubygems