mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 03:58:27 +02:00
Refactor EPP users to API users
This commit is contained in:
parent
b8494993ea
commit
c91c9c8ebf
44 changed files with 154 additions and 150 deletions
|
@ -1,9 +1,9 @@
|
|||
require 'rails_helper'
|
||||
|
||||
describe Contact do
|
||||
before :all do
|
||||
before :all do
|
||||
create_disclosure_settings
|
||||
@epp_user = Fabricate(:epp_user)
|
||||
@api_user = Fabricate(:api_user)
|
||||
end
|
||||
|
||||
it { should have_one(:address) }
|
||||
|
@ -150,7 +150,7 @@ describe Contact do
|
|||
|
||||
context 'with creator' do
|
||||
before :all do
|
||||
@contact.created_by = @epp_user
|
||||
@contact.created_by = @api_user
|
||||
end
|
||||
|
||||
# TODO: change cr_id to something else
|
||||
|
@ -161,9 +161,9 @@ describe Contact do
|
|||
|
||||
context 'with updater' do
|
||||
before :all do
|
||||
@contact.updated_by = @epp_user
|
||||
@contact.updated_by = @api_user
|
||||
end
|
||||
|
||||
|
||||
# TODO: change up_id to something else
|
||||
it 'should return username of updater' do
|
||||
@contact.up_id.should == 'gitlab'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue