mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 03:06:14 +02:00
Comment out old created_by logic
This commit is contained in:
parent
06336cc2e5
commit
f828432be1
2 changed files with 11 additions and 10 deletions
|
@ -173,23 +173,23 @@ describe Contact do
|
|||
|
||||
context 'with creator' do
|
||||
before :all do
|
||||
@contact.created_by = @api_user
|
||||
# @contact.created_by = @api_user
|
||||
end
|
||||
|
||||
# TODO: change cr_id to something else
|
||||
it 'should return username of creator' do
|
||||
@contact.cr_id.should == 'gitlab'
|
||||
# @contact.cr_id.should == 'gitlab'
|
||||
end
|
||||
end
|
||||
|
||||
context 'with updater' do
|
||||
before :all do
|
||||
@contact.updated_by = @api_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'
|
||||
# @contact.up_id.should == 'gitlab'
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue