mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
update spec
This commit is contained in:
parent
3b595cb839
commit
623fd25134
2 changed files with 3 additions and 3 deletions
|
@ -14,9 +14,9 @@ feature 'Sessions', type: :feature do
|
|||
|
||||
scenario 'Admin logs in' do
|
||||
visit root_path
|
||||
expect(page).to have_button('ID card (gitlab)')
|
||||
expect(page).to have_button('ID card (user1)')
|
||||
|
||||
click_on 'ID card (gitlab)'
|
||||
click_on 'ID card (user1)'
|
||||
expect(page).to have_text('Welcome!')
|
||||
|
||||
uri = URI.parse(current_url)
|
||||
|
|
|
@ -2,7 +2,7 @@ require 'rails_helper'
|
|||
|
||||
feature 'Setting management', type: :feature do
|
||||
let(:zone) { Fabricate(:registrar) }
|
||||
let(:zone_user) { Fabricate(:user, registrar: zone, username: 'gitlab', admin: true, identity_code: '37810013087') }
|
||||
let(:zone_user) { Fabricate(:user, registrar: zone, username: 'user1', admin: true, identity_code: '37810013087') }
|
||||
|
||||
background { create_settings }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue