Skip to content

Commit

Permalink
Rebased and fixed some lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhantbajaj committed Sep 3, 2019
1 parent b0b33d8 commit c95ac3c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/shopify_api/resources/collection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ def products(options = {})
Product.find(:all, from: "#{self.class.prefix}collections/#{id}/products.json", params: options)
end
end
end
end
3 changes: 1 addition & 2 deletions test/collection_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,4 @@ class CollectionTest < Test::Unit::TestCase
)
assert_equal [632910392, 921728736], collection.products.map(&:id)
end

end
end
2 changes: 1 addition & 1 deletion test/fixtures/collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
"src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0006\/9093\/3842\/collections\/fd43f2c8883f6e9b680e3295fd990d2c.gif?v=1458248317"
}
}
}
}

0 comments on commit c95ac3c

Please sign in to comment.