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

adapt user model test after rebase

parent 31294853
......@@ -64,7 +64,7 @@ class UserTest < ActiveSupport::TestCase
end
test 'record still exists after deletion' do
user = create :user, :with_profile, role: 'admin'
user = create :user, :with_profile, role: 'social_worker'
assert_difference 'User.count', -1 do
user.destroy
......
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