Sha256: 29a9e0ef3190ad18f7b354dbe127836fb0484fb84cd9cd5f68bc202ee3ddbeac
Contents?: true
Size: 433 Bytes
Versions: 7
Compression:
Stored size: 433 Bytes
Contents
require 'test_helper' module Workarea decorate Storefront::CartSystemTest, with: :paypal do def test_paypal_option_in_cart visit storefront.product_path(create_product) click_button 'add_to_cart' assert(page.has_content?(t('workarea.storefront.flash_messages.cart_item_added'))) visit storefront.cart_path assert(page.has_selector?('#paypal-button-container', visible: false)) end end end
Version data entries
7 entries across 7 versions & 1 rubygems