Sha256: 8e1bed9230885d519811b58f4a735e8b527af175bb94063211709a8282796f5a
Contents?: true
Size: 451 Bytes
Versions: 25
Compression:
Stored size: 451 Bytes
Contents
When /^I attempt to remove my own account$/ do # Only admins can access users, so we'll assume we're logged in as 'admin' id = user_id(:admin) visit "/admin/users/#{id}/remove" end When /^I attempt to delete my own account$/ do # Only admins can access users, so we'll assume we're logged in as 'admin' id = user_id(:admin) visit "/admin/users/#{id}", :delete end When /^I open my preferences$/ do visit edit_admin_preferences_path end
Version data entries
25 entries across 25 versions & 5 rubygems