Sha256: e1a8cbc7ae05ea99f99157f7d13e182648c36c9bd8c753ac5a5a19d305a65167

Contents?: true

Size: 773 Bytes

Versions: 21

Compression:

Stored size: 773 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe 'Promotions', type: :feature do
  stub_authorization!
  let!(:reimbursement) { create(:reimbursement) }

  it "should display the reimbursements table" do
    visit spree.admin_order_reimbursement_path(reimbursement.order, reimbursement)
    expect(page).to have_css('table thead tr th', text: 'Product')
    expect(page).to have_css('table thead tr th', text: 'Preferred Reimbursement Type')
    expect(page).to have_css('table thead tr th', text: 'Reimbursement Type Override')
    expect(page).to have_css('table thead tr th', text: 'Exchange For')
    expect(page).to have_css('table thead tr th', text: 'Amount Before Sales Tax')
    expect(page).to have_css('table thead tr th', text: 'Total')
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
solidus_backend-2.10.5 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.10.3 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.10.2 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.9.6 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.8.6 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.10.1 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.9.5 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.10.0 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.9.4 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.8.5 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.9.3 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.9.2 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.10.0.beta1 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.9.1 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.9.0 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.9.0.rc.1 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.8.4 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.8.3 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.8.2 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.8.1 spec/features/admin/reimbursements_spec.rb