Sha256: 84d51bacc95f2cec149e06a985ccf6cb9a83c5f150f13ba958a77df5646febfe

Contents?: true

Size: 248 Bytes

Versions: 37

Compression:

Stored size: 248 Bytes

Contents

FactoryGirl.define do
  factory :option_value, :class => Spree::OptionValue do
    name 'Size'
    presentation 'S'
    option_type
  end

  factory :option_type, :class => Spree::OptionType do
    name 'foo-size'
    presentation 'Size'
  end
end

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
spree_core-1.3.5 lib/spree/core/testing_support/factories/options_factory.rb
spree_core-1.3.4 lib/spree/core/testing_support/factories/options_factory.rb
spree_core-1.3.3 lib/spree/core/testing_support/factories/options_factory.rb
spree_core-1.2.5 lib/spree/core/testing_support/factories/options_factory.rb
spree_core-1.1.6 lib/spree/core/testing_support/factories/options_factory.rb
spree_core-1.1.5 lib/spree/core/testing_support/factories/options_factory.rb
spree_core-1.2.4 lib/spree/core/testing_support/factories/options_factory.rb
spree_core-1.3.2 lib/spree/core/testing_support/factories/options_factory.rb
spree_core-1.0.7 lib/spree/core/testing_support/factories/options_factory.rb
spree_core-1.2.3 lib/spree/core/testing_support/factories/options_factory.rb
spree_core-1.3.1 lib/spree/core/testing_support/factories/options_factory.rb
spree_core-1.3.0 lib/spree/core/testing_support/factories/options_factory.rb
spree_core-1.3.0.rc2 lib/spree/core/testing_support/factories/options_factory.rb
dup_spree_core-1.3.0.rc1 lib/spree/core/testing_support/factories/options_factory.rb
spree_core-1.3.0.rc1 lib/spree/core/testing_support/factories/options_factory.rb
spree_core-1.2.2 lib/spree/core/testing_support/factories/options_factory.rb
spree_core-1.1.4 lib/spree/core/testing_support/factories/options_factory.rb
spree_core-1.2.0 lib/spree/core/testing_support/factories/options_factory.rb
spree_core-1.2.0.rc2 lib/spree/core/testing_support/factories/options_factory.rb
spree_core-1.2.0.rc1 lib/spree/core/testing_support/factories/options_factory.rb