<commit_before># -*- encoding : utf-8 -*-
require 'spec_helper'

feature 'user registration' do
  let(:user) { build :user }
  let(:submit) { I18n.t('label.sign_up') }

  before(:each) { visit '/' }

  scenario 'successfully' do
    fill_in 'user_login', with: user.login
    fill_in 'user_email', with: user.email
    fill_in 'user_password', with: <PASSWORD>

    click_button submit
    expect(page).to have_content(I18n.t('devise.registrations.signed_up'))
  end
end<commit_msg>#14: change test codes according to user activation work flow<commit_after># -*- encoding : utf-8 -*-
require 'spec_helper'

feature 'user registration' do
  let(:user) { build :user }
  let(:submit) { I18n.t('label.sign_up') }

  before(:each) { visit '/' }

  scenario 'successfully' do
    fill_in 'user_login', with: user.login
    fill_in 'user_email', with: user.email
    fill_in 'user_password', with: <PASSWORD>

    click_button submit
    expect(page).to have_content(I18n.t('devise.registrations.signed_up_but_unconfirmed'))
  end
end
{'fraction_non_alphanumeric': 0.14007782101167315, 'fraction_numerical': 0.011673151750972763, 'mean_word_length': 4.196969696969697, 'pattern_counts': {'":': 0, '<': 5, '<?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': '809135', 'n_tokens_mistral': 361, 'n_tokens_neox': 350, 'n_words': 82}