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
+6 -5
View File
@@ -1,16 +1,17 @@
require 'spec_helper'
# frozen_string_literal: true
require "spec_helper"
feature 'url access' do
feature "url access" do
before do
UserFixture.reset_all_users
@normal_user = UserFixture.normal_user
end
scenario "attack\nTutorial: https://github.com/OWASP/railsgoat/wiki/A7-Missing-Function-Level-Access-Control--(Admin-Controller)", :js => true do
scenario "attack\nTutorial: https://github.com/OWASP/railsgoat/wiki/A7-Missing-Function-Level-Access-Control--(Admin-Controller)", js: true do
login @normal_user
visit '/admin/1/dashboard'
visit "/admin/1/dashboard"
pending if verifying_fixed?
expect(current_path).to eq('/admin/1/dashboard')
expect(current_path).to eq("/admin/1/dashboard")
end
end