mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 01:33:36 +02:00
Lock down the controllers
This commit is contained in:
parent
3045c08b3e
commit
3b1e632ab7
36 changed files with 166 additions and 97 deletions
|
@ -1,7 +1,7 @@
|
|||
module Feature
|
||||
def sign_in(user)
|
||||
visit '/logout'
|
||||
click_on 'ID card (gitlab)' if user.username == 'gitlab'
|
||||
click_on 'ID card (user1)' if user.username == 'user1'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue