* Add HTML variants for cta optimization and other nav bar adjustments * Fix 1==1 non-random mistake * Spruce up org call-to-action * Change default text color * Add html variant trial and success request specs * Fix article sidebar caching issue * One line adjustment * Modify schema * Add include ActionView::Helpers::TagHelper to user_tag_spec * Modify follow_button to remove session context * Dummy commit * Change Edit Article to Edit Post * Dummy commit * Fix rubocop concerns * Fix rubocop style
9 lines
262 B
Ruby
9 lines
262 B
Ruby
FactoryBot.define do
|
|
factory :html_variant do
|
|
user
|
|
name { Faker::Hipster.paragraph(1) }
|
|
html { "<div>#{rand(10000000000)}</div><h1>HEllo</h1>" }
|
|
success_rate { 0.3 }
|
|
group { "article_show_sidebar_cta" }
|
|
end
|
|
end
|