Add some tests for domain transfer

This commit is contained in:
Martin Lensment 2014-09-29 11:54:24 +03:00
parent b48b91878d
commit 72a37f3b08
14 changed files with 120 additions and 39 deletions

12
spec/support/feature.rb Normal file
View 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