* Removed code related to tracking html_variants * Remove code related to HtmlVariant#find_for_test * Remove spec for HtmlVariant#success_rate * Ignore html_variants.success_rate * Drop tables related to HtmlVariant tracking
8 lines
261 B
Ruby
8 lines
261 B
Ruby
FactoryBot.define do
|
|
factory :html_variant do
|
|
user
|
|
name { Faker::Hipster.paragraph(sentence_count: 1) }
|
|
html { "<div>#{rand(10_000_000_000)}</div><h1>HEllo</h1>" }
|
|
group { "article_show_below_article_cta" }
|
|
end
|
|
end
|