<commit_before>require 'rails_helper'

describe "Authors new page", :type => :feature do
  
  it "should display text input for first name" do
    visit "/authors/new"
    expect(page).to have_field("First name")
  end

  it "should display text input for last name" do
    visit "/authors/new"
    expect(page).to have_field("Last name")
  end

  it "should display text input for homepage" do
    visit "/authors/new"
    expect(page).to have_field("Homepage")
  end

end<commit_msg>failing test #6<commit_after>require 'rails_helper'

describe "Authors new page", :type => :feature do
  
  it "should display text input for first name" do
    visit "/authors/new"
    expect(page).to have_field("First name")
  end

  it "should display text input for last name" do
    visit "/authors/new"
    expect(page).to have_field("Last name")
  end

  it "should display text input for homepage" do
    visit "/authors/new"
    expect(page).to have_field("Homepage")
  end

  it "should display button to submit form labeled with 'Create Author'" do
    visit "/authors/new"
    expect(page).to have_button("Create Author")
  end
end
{'fraction_non_alphanumeric': 0.10460992907801418, 'fraction_numerical': 0.0008865248226950354, 'mean_word_length': 3.589430894308943, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3195742', 'n_tokens_mistral': 358, 'n_tokens_neox': 337, 'n_words': 125}