Browse Source

Rebased and fixed some lint errors

Siddhant Bajaj 5 years ago
parent
commit
c95ac3cb49

+ 1 - 1
lib/shopify_api/resources/collection.rb

@@ -9,4 +9,4 @@ module ShopifyAPI
       Product.find(:all, from: "#{self.class.prefix}collections/#{id}/products.json", params: options)
     end
   end
-end
+end

+ 1 - 2
test/collection_test.rb

@@ -26,5 +26,4 @@ class CollectionTest < Test::Unit::TestCase
     )
     assert_equal [632910392, 921728736], collection.products.map(&:id)
   end
-
-end
+end

+ 1 - 1
test/fixtures/collection.json

@@ -14,4 +14,4 @@
       "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/collections\/fd43f2c8883f6e9b680e3295fd990d2c.gif?v=1458248317"
     }
   }
-}
+}