Browse Source

Merge pull request #84 from Shopify/removed_dupe_test

removed dupe test
Kevin Hughes 11 năm trước cách đây
mục cha
commit
9784686e70
1 tập tin đã thay đổi với 0 bổ sung7 xóa
  1. 0 7
      test/base_test.rb

+ 0 - 7
test/base_test.rb

@@ -54,11 +54,4 @@ class BaseTest < Test::Unit::TestCase
     ShopifyAPI::Base.delete "1"
   end
 
-  test "#build should send custom headers with request" do
-    ShopifyAPI::Base.activate_session @session1
-    ShopifyAPI::Base.expects(:headers).returns({'X-Custom' => 'abc'})
-    ShopifyAPI::Base.connection.expects(:delete).with('/admin/bases/1.json', {'X-Custom' => 'abc'})
-    ShopifyAPI::Base.delete "1"
-  end
-
 end