appease our new robot overlords.

(I voted for Krang)
This commit is contained in:
Joseph Mastey
2017-12-12 21:00:45 -06:00
parent 4587a5ff67
commit bb863f5156
9 changed files with 34 additions and 32 deletions
+3 -3
View File
@@ -11,8 +11,8 @@ feature "insecure direct object reference" do
login(@normal_user)
visit "/users/#{@normal_user.id}/benefit_forms"
download_url = first('.widget-body a')[:href]
visit download_url.sub(/name=(.*?)&/, 'name=config/database.yml&')
download_url = first(".widget-body a")[:href]
visit download_url.sub(/name=(.*?)&/, "name=config/database.yml&")
pending if verifying_fixed?
@@ -29,6 +29,6 @@ feature "insecure direct object reference" do
visit "/users/#{another_user.id}/work_info"
pending if verifying_fixed?
expect(first('td').text).to eq(another_user.full_name)
expect(first("td").text).to eq(another_user.full_name)
end
end