spec/factories/pwb_contents.rb in pwb-1.2.0 vs spec/factories/pwb_contents.rb in pwb-1.3.0
- old
+ new
@@ -1,9 +1,12 @@
FactoryGirl.define do
factory :pwb_content, class: 'Pwb::Content' do
key 'MyString'
tag 'MyString'
raw 'MyText'
+ trait :main_content do
+ raw_en "<h2>Sell Your Property with Us</h2>"
+ end
# trait :completed do
# # complete true
# completed_at { Time.now }
# end