Sha256: e506d01f25b8a8b0081f183390527c5b5c984b1a11d78e29b7469bb75942d908
Contents?: true
Size: 490 Bytes
Versions: 6
Compression:
Stored size: 490 Bytes
Contents
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
6 entries across 6 versions & 1 rubygems