Sha256: 05eea131c8056b859dc79def09771a097926ab3d0abe4b98f8d49bed54e6d168
Contents?: true
Size: 521 Bytes
Versions: 47
Compression:
Stored size: 521 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' RSpec.describe 'Store credits', type: :feature do stub_authorization! let(:order) { FactoryBot.create(:completed_order_with_totals) } let(:payment) do FactoryBot.create( :store_credit_payment, order: order, amount: 20 ) end it "viewing a store credit payment" do visit spree.admin_order_payment_path(order, payment) expect(page).to have_content "Store Credit" expect(page).to have_content "Amount: $20.00" end end
Version data entries
47 entries across 47 versions & 2 rubygems