chore(rubocop): giganto rubocop commit.

muahahahah
This commit is contained in:
Joseph Mastey
2017-12-05 18:46:21 -06:00
parent 284cd8811c
commit 9902345291
120 changed files with 743 additions and 635 deletions
@@ -1,22 +1,23 @@
require 'spec_helper'
# frozen_string_literal: true
require "spec_helper"
feature 'password complexity' do
feature "password complexity" do
before do
UserFixture.reset_all_users
@normal_user = UserFixture.normal_user
end
scenario "one\nTutorial: https://github.com/OWASP/railsgoat/wiki/A2-Lack-of-Password-Complexity" do
visit '/signup'
within('.signup') do
fill_in 'user_email', :with => @normal_user.email + 'not'
fill_in 'user_first_name', :with => @normal_user.first_name
fill_in 'user_last_name', :with => @normal_user.last_name + 'not'
fill_in 'user_password', :with => 'password'
fill_in 'user_password_confirmation', :with => 'password'
visit "/signup"
within(".signup") do
fill_in "user_email", with: @normal_user.email + "not"
fill_in "user_first_name", with: @normal_user.first_name
fill_in "user_last_name", with: @normal_user.last_name + "not"
fill_in "user_password", with: "password"
fill_in "user_password_confirmation", with: "password"
end
click_on 'Submit'
click_on "Submit"
pending if verifying_fixed?
expect(current_path).to eq('/dashboard/home')
expect(current_path).to eq("/dashboard/home")
end
end