* Fix inconsistencies with DisplayAd * Remove console log * Fix tests * Fix width/height being backwards * Stub FastImage * Update app/services/html/parser.rb Co-authored-by: Michael Kohl <citizen428@forem.com> * Update spec/factories/display_ads.rb Co-authored-by: Michael Kohl <citizen428@forem.com> * Fix display language * Add check for img * Change name of rotatingDisplayUnits * Update app/helpers/display_ad_helper.rb Co-authored-by: Michael Kohl <citizen428@forem.com> Co-authored-by: Michael Kohl <citizen428@forem.com>
7 lines
175 B
Ruby
7 lines
175 B
Ruby
FactoryBot.define do
|
|
factory :display_ad do
|
|
placement_area { "sidebar_left" }
|
|
sequence(:body_markdown) { |n| "Hello _hey_ Hey hey #{n}" }
|
|
organization
|
|
end
|
|
end
|