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-7.0.2 test/tax_service_test.rb
shopify_api-7.0.1 test/tax_service_test.rb
shopify_api-7.0.0 test/tax_service_test.rb
shopify_api-6.0.0 test/tax_service_test.rb
shopify_api-5.2.4 test/tax_service_test.rb
shopify_api-5.2.3 test/tax_service_test.rb
shopify_api-5.2.2 test/tax_service_test.rb
shopify_api-5.2.1 test/tax_service_test.rb
shopify_api-5.2.0 test/tax_service_test.rb
shopify_api-5.1.0 test/tax_service_test.rb
shopify_api-5.0.0 test/tax_service_test.rb
shopify_api-4.13.0 test/tax_service_test.rb
shopify_api-4.12.0 test/tax_service_test.rb
shopify_api-4.11.0 test/tax_service_test.rb
shopify_api-4.10.0 test/tax_service_test.rb
shopify_api-4.9.1 test/tax_service_test.rb
shopify_api-4.9.0 test/tax_service_test.rb
shopify_api-4.8.0 test/tax_service_test.rb
shopify_api-4.7.1 test/tax_service_test.rb
shopify_api-4.7.0 test/tax_service_test.rb