Sha256: cd89a43f3203ca4b346c13b09b5867c3f808b28b766437dd04e39e6419f317b4

Contents?: true

Size: 456 Bytes

Versions: 48

Compression:

Stored size: 456 Bytes

Contents

# frozen_string_literal: true

require 'rails_helper'
require 'spree/testing_support/factories/reimbursement_factory'

RSpec.describe 'reimbursement factory' do
  let(:factory_class) { Spree::Reimbursement }

  describe 'plain reimbursement' do
    let(:factory) { :reimbursement }

    it_behaves_like 'a working factory'
  end

  describe 'total' do
    subject { FactoryBot.create(:reimbursement).total }

    it { is_expected.to be_present }
  end
end

Version data entries

48 entries across 48 versions & 2 rubygems

Version Path
solidus_core-2.8.4 spec/lib/spree/core/testing_support/factories/reimbursement_factory_spec.rb
solidus_core-2.8.3 spec/lib/spree/core/testing_support/factories/reimbursement_factory_spec.rb
solidus_core-2.7.2 spec/lib/spree/core/testing_support/factories/reimbursement_factory_spec.rb
solidus_core-2.6.4 spec/lib/spree/core/testing_support/factories/reimbursement_factory_spec.rb
solidus_core-2.8.2 spec/lib/spree/core/testing_support/factories/reimbursement_factory_spec.rb
solidus_core-2.8.1 spec/lib/spree/core/testing_support/factories/reimbursement_factory_spec.rb
solidus_core-2.6.3 spec/lib/spree/core/testing_support/factories/reimbursement_factory_spec.rb
solidus_core-2.8.0 spec/lib/spree/core/testing_support/factories/reimbursement_factory_spec.rb
solidus_core-2.7.1 spec/lib/spree/core/testing_support/factories/reimbursement_factory_spec.rb
solidus_core-2.6.2 spec/lib/spree/core/testing_support/factories/reimbursement_factory_spec.rb
solidus_core_devise_token_auth-2.8.0.alpha.14 spec/lib/spree/core/testing_support/factories/reimbursement_factory_spec.rb
solidus_core_devise_token_auth-2.8.0.alpha.13 spec/lib/spree/core/testing_support/factories/reimbursement_factory_spec.rb
solidus_core_devise_token_auth-2.8.0.alpha.12 spec/lib/spree/core/testing_support/factories/reimbursement_factory_spec.rb
solidus_core_devise_token_auth-2.8.0.alpha.11 spec/lib/spree/core/testing_support/factories/reimbursement_factory_spec.rb
solidus_core_devise_token_auth-2.8.0.alpha.10 spec/lib/spree/core/testing_support/factories/reimbursement_factory_spec.rb
solidus_core_devise_token_auth-2.8.0.alpha.9 spec/lib/spree/core/testing_support/factories/reimbursement_factory_spec.rb
solidus_core_devise_token_auth-2.8.0.alpha.8 spec/lib/spree/core/testing_support/factories/reimbursement_factory_spec.rb
solidus_core_devise_token_auth-2.8.0.alpha.7 spec/lib/spree/core/testing_support/factories/reimbursement_factory_spec.rb
solidus_core_devise_token_auth-2.8.0.alpha.6 spec/lib/spree/core/testing_support/factories/reimbursement_factory_spec.rb
solidus_core_devise_token_auth-2.8.0.alpha.5 spec/lib/spree/core/testing_support/factories/reimbursement_factory_spec.rb