Sha256: cd51e018c3c5aa30efe1b70e6dce4b4a15bd81559ee24473d775a7b8dbbe0555
Contents?: true
Size: 458 Bytes
Versions: 8
Compression:
Stored size: 458 Bytes
Contents
# frozen_string_literal: true 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')) 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
8 entries across 8 versions & 2 rubygems