<commit_before>require 'rails_helper'

feature "Sessions", :type => :feature do
  it "registers in signs in the user" do
    visit root_path
    expect(page.title).to match /pelp/i
    click_link "Zarejestruj"
    fill_in :user_name, with: "<NAME>"
    fill_in :user_email, with: "<EMAIL>"
    fill_in :user_password, with: "<PASSWORD>"
    fill_in :user_password_confirmation, with: "<PASSWORD>"
    expect do
      click_button "Zarejestruj się"
    end.to change { User.count }.by(1)
    click_link "Zaloguj"
    fill_in :user_email, with: "<EMAIL>"
    fill_in :user_password, with: "<PASSWORD>"
    click_button "Zaloguj"
    expect(page).to have_content "<NAME>"
  end
end<commit_msg>Updated feature spec<commit_after>require 'rails_helper'

feature "Sessions", :type => :feature do
  it "registers in signs in the user" do
    visit root_path
    expect(page.title).to match /pelp/i
    click_link "Zarejestruj"
    fill_in :user_name, with: "<NAME>"
    fill_in :user_email, with: "<EMAIL>"
    fill_in :user_password, with: "<PASSWORD>"
    fill_in :user_password_confirmation, with: "<PASSWORD>"
    expect do
      click_button "Zarejestruj się"
    end.to change { User.count }.by(1)
    expect(page).to have_content "Wyloguj"
    click_link "Wyloguj"
    click_link "Zaloguj"
    fill_in :user_email, with: "<EMAIL>"
    fill_in :user_password, with: "<PASSWORD>"
    click_button "Zaloguj"
    expect(page).to have_content "Robert Bias"
  end
end
{'fraction_non_alphanumeric': 0.1184931506849315, 'fraction_numerical': 0.0013698630136986301, 'mean_word_length': 3.902684563758389, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 18, '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': '4127335', 'n_tokens_mistral': 528, 'n_tokens_neox': 519, 'n_words': 135}