Explorar o código

Fixing typo........

Ben Cox %!s(int64=11) %!d(string=hai) anos
pai
achega
fa337b3c19
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      test/fulfillment_service_test.rb

+ 1 - 1
test/fulfillment_service_test.rb

@@ -2,7 +2,7 @@ require 'test_helper'
 
 
 class FulFillmentServiceTest < Test::Unit::TestCase
 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_services", :method => :post, :body => load_fixture('fulfillment_service')
 		fulfillment_service = ShopifyAPI::FulfillmentService.new(:name => "SomeService")
 		fulfillment_service = ShopifyAPI::FulfillmentService.new(:name => "SomeService")
 		fulfillment_service.save
 		fulfillment_service.save
 		assert_equal "SomeService" , fulfillment_service.name
 		assert_equal "SomeService" , fulfillment_service.name