mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
Add some tests for domain transfer
This commit is contained in:
parent
b48b91878d
commit
72a37f3b08
14 changed files with 120 additions and 39 deletions
12
spec/support/feature.rb
Normal file
12
spec/support/feature.rb
Normal file
|
@ -0,0 +1,12 @@
|
|||
module Feature
|
||||
def sign_in(user)
|
||||
visit root_path
|
||||
click_on 'ID card (gitlab)' if user.username == 'gitlab'
|
||||
click_on 'ID card (zone)' if user.username == 'zone'
|
||||
click_on 'ID card (elkdata)' if user.username == 'elkdata'
|
||||
end
|
||||
end
|
||||
|
||||
RSpec.configure do |c|
|
||||
c.include Feature, type: :feature
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue