Explorar o código

Fixing lack of .save after .new

Ben Cox %!s(int64=11) %!d(string=hai) anos
pai
achega
7761406b1e
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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