<commit_before>MagicLamp.define(controller: PagesController) do
  fixture(name: 'pages/fundraiser') do
    @page = FactoryGirl.create :page, liquid_layout: LiquidLayout.find_by(title: 'Standard Fundraiser')
    form = FactoryGirl.create :form_with_email_and_optional_country
    @page.plugins.each { |pl| if pl.name == 'Fundraiser' then pl.update_attributes(form: form) end }
    params[:id] = @page.id
    show
  end
end

MagicLamp.define(controller: PagesController) do
  fixture(name: 'pages/petition') do
    @page = FactoryGirl.create :page, liquid_layout: LiquidLayout.find_by(title: 'Standard Petition')
    form = FactoryGirl.create :form_with_all_except_check
    @page.plugins.each { |pl| if pl.name == 'Petition' then pl.update_attributes(form: form) end }
    params[:id] = @page.id
    show
  end
end<commit_msg>fix liquid layout names for magic lamp tests<commit_after>MagicLamp.define(controller: PagesController) do
  fixture(name: 'pages/fundraiser') do
    @page = FactoryGirl.create :page, liquid_layout: LiquidLayout.find_by(title: 'Fundraiser With Large Image')
    form = FactoryGirl.create :form_with_email_and_optional_country
    @page.plugins.each { |pl| if pl.name == 'Fundraiser' then pl.update_attributes(form: form) end }
    params[:id] = @page.id
    show
  end
end

MagicLamp.define(controller: PagesController) do
  fixture(name: 'pages/petition') do
    @page = FactoryGirl.create :page, liquid_layout: LiquidLayout.find_by(title: 'Petition With Large Image')
    form = FactoryGirl.create :form_with_all_except_check
    @page.plugins.each { |pl| if pl.name == 'Petition' then pl.update_attributes(form: form) end }
    params[:id] = @page.id
    show
  end
end
{'fraction_non_alphanumeric': 0.11431938715380083, 'fraction_numerical': 0.0, 'mean_word_length': 4.815068493150685, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6121579', 'n_tokens_mistral': 573, 'n_tokens_neox': 537, 'n_words': 130}