Sha256: aeeb5bf2fea94c51df669892207de0d4cad7bb86b9d70ba89f4257b9fa488ac2

Contents?: true

Size: 437 Bytes

Versions: 36

Compression:

Stored size: 437 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"}}', FakeWeb.last_request.body
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
shopify_api-4.6.0 test/tax_service_test.rb
shopify_api-4.5.0 test/tax_service_test.rb
shopify_api-4.4.0 test/tax_service_test.rb
shopify_api-4.3.9 test/tax_service_test.rb
shopify_api-4.3.8 test/tax_service_test.rb
shopify_api-4.3.7 test/tax_service_test.rb
shopify_api-4.3.6 test/tax_service_test.rb
shopify_api-4.3.5 test/tax_service_test.rb
shopify_api-4.3.4 test/tax_service_test.rb
shopify_api-4.3.3 test/tax_service_test.rb
shopify_api-4.3.2 test/tax_service_test.rb
shopify_api-4.3.1 test/tax_service_test.rb
shopify_api-4.3.0 test/tax_service_test.rb
shopify_api-4.2.2 test/tax_service_test.rb
shopify_api-4.2.1 test/tax_service_test.rb
shopify_api-4.2.0 test/tax_service_test.rb