Browse Source

Fixing lack of .save after .new

Ben Cox 11 years ago
parent
commit
7761406b1e
1 changed files with 1 additions and 0 deletions
  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