<commit_before>require 'spec_helper'

describe Account, :vcr do
  before(:each) { @account = Account.new('bob', '<PASSWORD>') }

  describe 'the initilization of an Account' do
    it 'takes a username and password argument successfully' do
      expect(@account).to be_an_instance_of(Account)
    end
  end

  describe 'the process of logging into MFP' do
    let(:home_page) { "http://www.google.com" }

    # This is arbitrary, because Mechanize already tests the HTTP connection
    # Skip because implementation of VCR & Webmock needs revision
    skip 'connects to the home page' do
      home_page_cassette = File.new(
        'vcr_cassettes/Account/_login/connects_to_the_home_page.yml', 'r')
      stub_request(:get, home_page).to_return(home_page_cassette)
    end

    it 'completes the login form and submits it' do

    end
  end

end
<commit_msg>moved skip to inside test<commit_after>require 'spec_helper'

describe Account, :vcr do
  before(:each) { @account = Account.new('bob', '<PASSWORD>') }

  describe 'the initilization of an Account' do
    it 'takes a username and password argument successfully' do
      expect(@account).to be_an_instance_of(Account)
    end
  end

  describe 'the process of logging into MFP' do
    let(:home_page) { "http://www.google.com" }

    # This is arbitrary, because Mechanize already tests the HTTP connection
    it 'connects to the home page' do
      skip('Implementation of VCR & Webmock needs revision')
      
      home_page_cassette = File.new(
        'vcr_cassettes/Account/_login/connects_to_the_home_page.yml', 'r')
      stub_request(:get, home_page).to_return(home_page_cassette)
    end

    it 'completes the login form and submits it' do

    end
  end

end

{'fraction_non_alphanumeric': 0.0894919168591224, 'fraction_numerical': 0.0, 'mean_word_length': 3.5725593667546174, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '2317558', 'n_tokens_mistral': 555, 'n_tokens_neox': 538, 'n_words': 170}