<commit_before>Mechanize and RSpec
====

[![Build Status](https://travis-ci.org/uksa/mechanize-rspec.svg)](https://travis-ci.org/uksa/mechanize-rspec)

#Setup
1. gem install bundler
2. curl -L https://get.rvm.io | bash -s stable --auto-dotfiles --autolibs=enable --ruby - gets RVM
3. rvm -v - If you get rvm is a function, that means RVM was successfully installed.
4. Intellij > Preferences > Filter "ruby sdk and gems" - Select RVM from the list, click OK
5. bundle install - installs all required gems

#Tests
Following tests are available

##Sign In Spec
1. Authentication Fails for Unknown Credentials
2. Authentication Passes for Admin
3. Authentication Passes for Standard User
4. Authentication Passed for Suspended User<commit_msg>Updated readme.<commit_after>Mechanize and RSpec
====

[![Build Status](https://travis-ci.org/uksa/mechanize-rspec.svg)](https://travis-ci.org/uksa/mechanize-rspec)

#Setup
1. gem install bundler
2. curl -L https://get.rvm.io | bash -s stable --auto-dotfiles --autolibs=enable --ruby - gets RVM
3. rvm -v - If you get rvm is a function, that means RVM was successfully installed.
4. RubyMine > Preferences > Filter "ruby sdk and gems" - Select RVM from the list, click OK
5. bundle install - installs all required gems

#Tests
Following tests are available

##Sign In Spec
1. Authentication Fails for Unknown Credentials
2. Authentication Passes for Admin
3. Authentication Passes for Standard User
4. Authentication Passed for Suspended User
{'fraction_non_alphanumeric': 0.10053981106612686, 'fraction_numerical': 0.012145748987854251, 'mean_word_length': 4.061433447098976, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 6, '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': '3413470', 'n_tokens_mistral': 489, 'n_tokens_neox': 470, 'n_words': 182}