Commit bd7ce2ed authored by Tugce Nur Tas's avatar Tugce Nur Tas Committed by Tuğçe Nur Taş
Browse files

adapt code review changes

parent d1e304c1
......@@ -9,7 +9,7 @@
tr
th= t_attr(:email)
th= t_attr(:role)
th=
th
tbody
= render @users
......
......@@ -10,4 +10,4 @@
.row
.col-xs-12
p= link_to t('back'), users_path, class: 'btn btn-default'
= link_to t('back'), users_path, class: 'btn btn-default'
......@@ -65,7 +65,7 @@ class UsersTest < ApplicationSystemTestCase
assert_equal 'superadmin@test.ch', email['to'].to_s
end
test 'superadmins have no destroy link' do
test "superadmins can't destroy superadmin" do
visit users_path
@social_worker = create :user, role: 'social_worker'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment