Sha256: 62d20a049006377401da2d898f1ec704178f2f10dfc592bf8abe969b8427198c

Contents?: true

Size: 321 Bytes

Versions: 7

Compression:

Stored size: 321 Bytes

Contents

FactoryGirl.define do
  factory :pwb_content, class: 'Pwb::Content' do
    key 'MyString'
    tag 'MyString'
    raw 'MyText'
    # trait :completed do
    #   # complete true
    #   completed_at { Time.now }
    # end

    # trait :not_completed do
    #   # complete false
    #   completed_at nil
    # end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
pwb-1.2.0 spec/factories/pwb_contents.rb
pwb-1.1.1 spec/factories/pwb_contents.rb
pwb-1.0.0 spec/factories/pwb_contents.rb
pwb-0.1.1 spec/factories/pwb_contents.rb
pwb-0.1.0 spec/factories/pwb_contents.rb
pwb-0.0.2 spec/factories/pwb_contents.rb
pwb-0.0.1 spec/factories/pwb_contents.rb