Sha256: 86a0839f103c8b700ebe58a5b7436a8f8305e9510787e2248ad2d202e7de1c06

Contents?: true

Size: 742 Bytes

Versions: 42

Compression:

Stored size: 742 Bytes

Contents

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

42 entries across 42 versions & 1 rubygems

Version Path
solidus_backend-2.5.2 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.5.1 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.5.0 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.5.0.rc1 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.5.0.beta2 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.5.0.beta1 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.4.2 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.4.1 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.3.1 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.2.2 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.1.1 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.0.3 spec/features/admin/reimbursements_spec.rb
solidus_backend-1.4.2 spec/features/admin/reimbursements_spec.rb
solidus_backend-1.3.2 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.4.0 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.4.0.rc1 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.4.0.beta1 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.3.0 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.3.0.rc3 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.3.0.rc2 spec/features/admin/reimbursements_spec.rb