|
@@ -2,7 +2,7 @@ require 'test_helper'
|
|
|
|
|
|
class FulFillmentServiceTest < Test::Unit::TestCase
|
|
|
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.save
|
|
|
assert_equal "SomeService" , fulfillment_service.name
|