Sha256: 42ab71fb466695c57ec1fcc8aa7a6e5dd396c7b82c80fcf79ba6f8ace10fa9ed

Contents?: true

Size: 346 Bytes

Versions: 8

Compression:

Stored size: 346 Bytes

Contents

FactoryGirl.define do
  factory :pwb_prop, class: 'Pwb::Prop' do
    title_en 'A property for '
    trait :sale do
      for_sale true
      visible true
    end
    trait :long_term_rent do
      for_rent_long_term true
      visible true
    end
    trait :short_term_rent do
      for_rent_short_term true
      visible true
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pwb-1.4.0 spec/factories/pwb_props.rb
pwb-1.3.0 spec/factories/pwb_props.rb
pwb-1.2.0 spec/factories/pwb_props.rb
pwb-1.1.1 spec/factories/pwb_props.rb
pwb-1.0.0 spec/factories/pwb_props.rb
pwb-0.1.1 spec/factories/pwb_props.rb
pwb-0.1.0 spec/factories/pwb_props.rb
pwb-0.0.2 spec/factories/pwb_props.rb