Sha256: 231ebf07b8e7c2693ead749204d1ecfd66fd22c664703a20c7023a4151561467

Contents?: true

Size: 345 Bytes

Versions: 17

Compression:

Stored size: 345 Bytes

Contents

FactoryBot.define do

  factory :feature do
    name "Feature Name"
    categorisable false
  end

  factory :published_feature, parent: :feature do
    status "published"
  end

  factory :unpublished_feature, parent: :feature do
    status "unpublished"
  end

  factory :removed_feature, parent: :feature do
    status "removed"
  end
  
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
usman-0.4.10.pre.materialize spec/dummy/spec/factories/feature.rb
usman-0.4.9.pre.materialize spec/dummy/spec/factories/feature.rb
usman-0.4.8.pre.materialize spec/dummy/spec/factories/feature.rb
usman-0.4.7.pre.materialize spec/dummy/spec/factories/feature.rb
usman-0.4.6.pre.materialize spec/dummy/spec/factories/feature.rb
usman-0.4.5.pre.materialize spec/dummy/spec/factories/feature.rb
usman-0.4.4.pre.materialize spec/dummy/spec/factories/feature.rb
usman-0.4.3.pre.materialize spec/dummy/spec/factories/feature.rb
usman-0.4.2.pre.materialize spec/dummy/spec/factories/feature.rb
usman-0.4.1.pre.materialize spec/dummy/spec/factories/feature.rb
usman-0.4.0.pre.materialize spec/dummy/spec/factories/feature.rb
usman-0.3.38 spec/dummy/spec/factories/feature.rb
usman-0.3.37 spec/dummy/spec/factories/feature.rb
usman-0.3.36 spec/dummy/spec/factories/feature.rb
usman-0.3.35 spec/dummy/spec/factories/feature.rb
usman-0.3.34 spec/dummy/spec/factories/feature.rb
usman-0.3.33 spec/dummy/spec/factories/feature.rb