Sha256: 522bd1d475ff24cfab1ecf8ccbfa813a9172cea0d049949f663ad67d11fd2773
Contents?: true
Size: 682 Bytes
Versions: 1
Compression:
Stored size: 682 Bytes
Contents
require 'spec_helper' RSpec.feature 'Payment History', js: true do let!(:order) { create(:completed_order_with_pending_payment) } before :each do login_as_admin end it "tracks order payment history" do visit spree.admin_order_payments_path(order) expect(page).to have_text('history (0)') click_icon 'capture' expect(page).to have_text('Payment Updated') expect(page).to have_text('history (1)') click_link 'history' expect(page).to have_text('Log Entries') expect(page).to have_text(Spree::LogEntry.first.created_at) expect(page).not_to have_text('CVV') click_link 'More Info' expect(page).to have_text('CVV') end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
solidus_log_viewer-1.0.0 | spec/features/admin/payment_history_spec.rb |