Sha256: 7bf0fe2a314ae162e742a447b4d8f2c69a81c72b3c077b82d01184f1e4603411
Contents?: true
Size: 645 Bytes
Versions: 21
Compression:
Stored size: 645 Bytes
Contents
require File.expand_path('../../../test_helper', __FILE__) module Etsy class ShippingTemplateTest < Test::Unit::TestCase context "An instance of the ShippingTemplate class" do setup do data = read_fixture('shipping_template/getShippingTemplate.json') @shipping_template = ShippingTemplate.new(data.first) end should "have an id" do @shipping_template.id.should == 212 end should "have an title" do @shipping_template.title.should == "Small Items" end should "have an user_id" do @shipping_template.user_id.should == 14888443 end end end end
Version data entries
21 entries across 21 versions & 3 rubygems
Version | Path |
---|---|
etsy-0.2.1 | test/unit/etsy/shipping_template_test.rb |