mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
10 lines
190 B
Ruby
10 lines
190 B
Ruby
module Feature
|
|
def sign_in(user)
|
|
visit '/logout'
|
|
click_on 'ID card (gitlab)' if user.username == 'gitlab'
|
|
end
|
|
end
|
|
|
|
RSpec.configure do |c|
|
|
c.include Feature, type: :feature
|
|
end
|