Преглед на файлове

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
 	test 'new should create fulfillment service' do
 		fake "fulfillment_service", :method => :post
 		fake "fulfillment_service", :method => :post
 		fulfillment_service = ShopifyAPI::FulfillmentService.new(:name => "SomeService")
 		fulfillment_service = ShopifyAPI::FulfillmentService.new(:name => "SomeService")
+		fulfillment_service.save
 		assert_equal "SomeService" , fulfillment_service.name
 		assert_equal "SomeService" , fulfillment_service.name
 	end
 	end