Sha256: b6826bcf45ccd6e0e83856417b4fcacc47324dab70ac742830c387c790803497

Contents?: true

Size: 773 Bytes

Versions: 26

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

26 entries across 26 versions & 2 rubygems

Version Path
solidus_backend-2.6.6 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.7.4 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.7.3 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.6.5 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.7.2 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.6.4 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.6.3 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.7.1 spec/features/admin/reimbursements_spec.rb
solidus_backend-2.6.2 spec/features/admin/reimbursements_spec.rb
solidus_backend_devise_token_auth-2.8.0.alpha.14 spec/features/admin/reimbursements_spec.rb
solidus_backend_devise_token_auth-2.8.0.alpha.13 spec/features/admin/reimbursements_spec.rb
solidus_backend_devise_token_auth-2.8.0.alpha.12 spec/features/admin/reimbursements_spec.rb
solidus_backend_devise_token_auth-2.8.0.alpha.11 spec/features/admin/reimbursements_spec.rb
solidus_backend_devise_token_auth-2.8.0.alpha.10 spec/features/admin/reimbursements_spec.rb
solidus_backend_devise_token_auth-2.8.0.alpha.9 spec/features/admin/reimbursements_spec.rb
solidus_backend_devise_token_auth-2.8.0.alpha.8 spec/features/admin/reimbursements_spec.rb
solidus_backend_devise_token_auth-2.8.0.alpha.7 spec/features/admin/reimbursements_spec.rb
solidus_backend_devise_token_auth-2.8.0.alpha.6 spec/features/admin/reimbursements_spec.rb
solidus_backend_devise_token_auth-2.8.0.alpha.5 spec/features/admin/reimbursements_spec.rb
solidus_backend_devise_token_auth-2.8.0.alpha.4 spec/features/admin/reimbursements_spec.rb