Sha256: 94276723f4feeec6bc54a8931ba98b824ac4693523ec59d8f1114e399205a53d

Contents?: true

Size: 201 Bytes

Versions: 26

Compression:

Stored size: 201 Bytes

Contents

FactoryBot.define do
  factory :state_change, class: Spree::StateChange do
    stateful { build(:order) }
    previous_state { 'cart' }
    next_state { 'address' }
    user { build(:user) }
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
spree_core-4.10.1 lib/spree/testing_support/factories/state_change_factory.rb
spree_core-4.10.0 lib/spree/testing_support/factories/state_change_factory.rb
spree_core-4.9.0 lib/spree/testing_support/factories/state_change_factory.rb
spree_core-4.8.3 lib/spree/testing_support/factories/state_change_factory.rb
spree_core-4.8.2 lib/spree/testing_support/factories/state_change_factory.rb
spree_core-4.7.3 lib/spree/testing_support/factories/state_change_factory.rb
spree_core-4.6.6 lib/spree/testing_support/factories/state_change_factory.rb
spree_core-4.5.5 lib/spree/testing_support/factories/state_change_factory.rb
spree_core-4.4.1 lib/spree/testing_support/factories/state_change_factory.rb
spree_core-4.5.4 lib/spree/testing_support/factories/state_change_factory.rb
spree_core-4.6.5 lib/spree/testing_support/factories/state_change_factory.rb
spree_core-4.7.2 lib/spree/testing_support/factories/state_change_factory.rb
spree_core-4.7.1 lib/spree/testing_support/factories/state_change_factory.rb
spree_core-4.6.4 lib/spree/testing_support/factories/state_change_factory.rb
spree_core-4.7.0 lib/spree/testing_support/factories/state_change_factory.rb
spree_core-4.6.3 lib/spree/testing_support/factories/state_change_factory.rb
spree_core-4.6.2 lib/spree/testing_support/factories/state_change_factory.rb
spree_core-4.6.1 lib/spree/testing_support/factories/state_change_factory.rb
spree_core-4.6.0 lib/spree/testing_support/factories/state_change_factory.rb
spree_core-4.5.3 lib/spree/testing_support/factories/state_change_factory.rb