changed user_id to id

This commit is contained in:
cktricky
2017-12-19 08:26:02 -05:00
parent f23ecdde3f
commit 00af8293b2
6 changed files with 11 additions and 11 deletions
@@ -16,7 +16,7 @@ feature "command injection" do
legit_file = File.join(Rails.root, "public", "data", "legit.txt")
File.open(legit_file, "w") { |f| f.puts "totes legit" }
visit "/users/#{normal_user.user_id}/benefit_forms"
visit "/users/#{normal_user.id}/benefit_forms"
Dir.mktmpdir do |dir|
hackety_file = File.join(dir, "test; cd public && cd data && rm -f * ;")
File.open(hackety_file, "w") { |f| f.print "mwahaha" }