Skip to content

Commit

Permalink
refer to Rails 5 wiki (to be created)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmmastey committed Jan 30, 2017
1 parent d51f48f commit 563ada1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spec/vulnerabilities/csrf_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
@normal_user = UserFixture.normal_user
end

scenario "attack\nTutorial: https://github.com/OWASP/railsgoat/wiki/R4-A8-CSRF", :js => true do
scenario "attack\nTutorial: https://github.com/OWASP/railsgoat/wiki/R5-A8-CSRF", :js => true do
visit '/'
# TODO: is there a way to get this without visiting root first?
base_url = current_url
Expand Down
2 changes: 1 addition & 1 deletion spec/vulnerabilities/mass_assignment_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
expect(@normal_user.reload.admin).to be_truthy
end

scenario 'attack two, Tutorial: https://github.com/OWASP/railsgoat/wiki/R4-Extras-Mass-Assignment-Admin-Role' do
scenario 'attack two, Tutorial: https://github.com/OWASP/railsgoat/wiki/R5-Extras-Mass-Assignment-Admin-Role' do
params = {:user => {:admin => 't',
:email => '[email protected]',
:first_name => 'hackety',
Expand Down
2 changes: 1 addition & 1 deletion spec/vulnerabilities/sql_injection_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
@admin_user = User.where("admin='t'").first
end

scenario "attack\nTutorial: https://github.com/OWASP/railsgoat/wiki/R4-A1-SQL-Injection-Concatentation" do
scenario "attack\nTutorial: https://github.com/OWASP/railsgoat/wiki/R5-A1-SQL-Injection-Concatentation" do
expect(@admin_user.admin).to be_truthy

login(@normal_user)
Expand Down

0 comments on commit 563ada1

Please sign in to comment.