Skip to content

Commit

Permalink
Marketplace: Install libvips for testing Product::Photos
Browse files Browse the repository at this point in the history
- #1430
- #1428

- Pulled from https://github.com/libvips/ruby-vips/blob/master/.github/workflows/test.yml

I'm not particularly pleased with this, but I didn't find a github
action; and I'm not entirely sure why the test passes locally but not on
CI.
  • Loading branch information
zspencer committed May 24, 2023
1 parent eb02a8e commit 5c9dbbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/furniture/marketplace/cart_product_component_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
it { is_expected.to have_content(helpers.humanized_money_with_symbol(product.price)) }
it { is_expected.to have_link(I18n.t("marketplace.cart_product_component.add")) }
it { is_expected.to have_link(I18n.t("marketplace.cart_product_component.remove")) }
it { is_expected.to have_selector("img[src$='#{product.photo.filename}']") }

context "when the product is not yet in the cart" do
let(:cart_product) { build(:marketplace_cart_product, cart: cart, product: product, quantity: 0) }
Expand Down

0 comments on commit 5c9dbbf

Please sign in to comment.