瀏覽代碼

Fixing lack of .save after .new

Ben Cox 11 年之前
父節點
當前提交
7761406b1e
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      test/fulfillment_service_test.rb

+ 1 - 0
test/fulfillment_service_test.rb

@@ -4,6 +4,7 @@ class FulFillmentServiceTest < Test::Unit::TestCase
 	test 'new should create fulfillment service' do
 		fake "fulfillment_service", :method => :post
 		fulfillment_service = ShopifyAPI::FulfillmentService.new(:name => "SomeService")
+		fulfillment_service.save
 		assert_equal "SomeService" , fulfillment_service.name
 	end