mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-17 13:44:09 +00:00
Fix others additional lints
This commit is contained in:
parent
763f864dc9
commit
056fe5ec3f
18 changed files with 33 additions and 34 deletions
|
|
@ -5,7 +5,8 @@ feature User do
|
|||
let!(:participant_role) { create(:participant_role) }
|
||||
let!(:admin_role) { create(:admin_role) }
|
||||
let(:admin) { create(:admin) }
|
||||
shared_examples 'admin ability' do |user|
|
||||
|
||||
shared_examples 'admin ability' do
|
||||
scenario 'deletes a user', feature: true, js: true do
|
||||
sign_in(admin)
|
||||
visit admin_users_path
|
||||
|
|
@ -34,6 +35,7 @@ feature User do
|
|||
sign_out
|
||||
end
|
||||
end
|
||||
|
||||
describe 'admin' do
|
||||
it_behaves_like 'admin ability', :admin
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue