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

Version Path
shopify_api-9.2.0 test/tax_service_test.rb
shopify_api-9.1.0 test/tax_service_test.rb
shopify_api-9.0.4 test/tax_service_test.rb
shopify_api-9.0.3 test/tax_service_test.rb
shopify_api-9.0.2 test/tax_service_test.rb
shopify_api-9.0.1 test/tax_service_test.rb
shopify_api-9.0.0 test/tax_service_test.rb
shopify_api-8.1.0 test/tax_service_test.rb
shopify_api-8.0.0 test/tax_service_test.rb
shopify_api-7.1.0 test/tax_service_test.rb