Comment out old created_by logic

This commit is contained in:
Priit Tark 2015-01-29 16:02:39 +02:00
parent 06336cc2e5
commit f828432be1
2 changed files with 11 additions and 10 deletions

View file

@ -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