Sha256: 4307b40ee354b9dcf299c0bfae15007088fb6fe3c44f2a7001ab007b094e7524
Contents?: true
Size: 382 Bytes
Versions: 9
Compression:
Stored size: 382 Bytes
Contents
# frozen_string_literal: true require 'test_helper' class ShippingZoneTest < Test::Unit::TestCase test "get all should get all shipping zones" do fake('shipping_zones', method: :get, status: 200, body: load_fixture('shipping_zones')) checkout = ShopifyAPI::ShippingZone.all assert_equal(1, checkout.first.id) assert_equal("Canada", checkout.first.name) end end
Version data entries
9 entries across 9 versions & 2 rubygems