<commit_before>require 'rails_helper'

feature "user signs in", %q{
    As an organization's client or practitioner
    I want to login with an account generated for my email address
    so I can use an account provided by the organization
} do

  # Acceptance Criteria
  #
  # * I must be able to sign in as a client.
  # * I must be able to sign in as a practitioner.
  # * I must be denied access if I do not enter valid credentials.

  scenario "client signs in with valid credentials" do
    practitioner = FactoryGirl.create(:user, :practitioner, id: 1)
    client = FactoryGirl.create(:user, :client)

    visit new_user_session_path
<commit_msg>Corrected user sign in test error.<commit_after>require 'rails_helper'

feature "user signs in", %q{
    As an organization's client or practitioner
    I want to login with an account generated for my email address
    so I can use an account provided by the organization
} do

  # Acceptance Criteria
  #
  # * I must be able to sign in as a client.
  # * I must be able to sign in as a practitioner.
  # * I must be denied access if I do not enter valid credentials.

  scenario "client signs in with valid credentials" do
    practitioner = FactoryGirl.create(:user, :practitioner, id: 1)
    client = FactoryGirl.create(:user, :client, id: 2)

    visit new_user_session_path

{'fraction_non_alphanumeric': 0.06371814092953523, 'fraction_numerical': 0.0022488755622188904, 'mean_word_length': 3.494949494949495, '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': '506099', 'n_tokens_mistral': 389, 'n_tokens_neox': 372, 'n_words': 183}