<commit_before>Feature: Sign In
  As a visiting user
  I want to sign in
  Sign in will happen via GitHub (and possibly other auth providers)

  @omniauth_test
  Scenario: Sucessful sign in
    Given a signed out user
    When they visit the home page
    Then they should see "Sign In"
    When they sign in with GitHub
    Then User.count should == 1
    Then Authentication.count should == 1
    Then they should see "Sign Out"

  Scenario: Failed sign in
    Given a signed out user
    When they visit the home page
    Then they should see "Sign In"
    When they fail the sign in with GitHub
    Then they should see "Sign In"
    Then they should see "sorry"
<commit_msg>tests for new authenticated user behavior<commit_after>Feature: Sign In
  As a visiting user
  I want to sign in
  Sign in will happen via GitHub (and possibly other auth providers)

  @omniauth_test
  Scenario: Sucessful sign in
    Given a signed out user
    When they visit the home page
    Then they should see "Sign In"
    When they sign in with GitHub
    Then User.count should == 1
    Then Authentication.count should == 1
    Then they should see "Test User"
    Then they should see "Profile"
    Then they should see "Sign Out"

  Scenario: Failed sign in
    Given a signed out user
    When they visit the home page
    Then they should see "Sign In"
    When they fail the sign in with GitHub
    Then they should see "Sign In"
    Then they should see "sorry"

{'fraction_non_alphanumeric': 0.037037037037037035, 'fraction_numerical': 0.0027434842249657062, 'mean_word_length': 2.8906666666666667, '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': '7633131', 'n_tokens_mistral': 411, 'n_tokens_neox': 391, 'n_words': 226}