mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
Use inflector rule to acronym Api to API
This commit is contained in:
parent
42004f933f
commit
06f5eb10d4
25 changed files with 44 additions and 43 deletions
|
@ -316,10 +316,10 @@ RSpec.describe Domain do
|
|||
@api_user = create(:api_user)
|
||||
@user.id.should == 1
|
||||
@api_user.id.should == 2
|
||||
::PaperTrail.whodunnit = '2-ApiUser: testuser'
|
||||
::PaperTrail.whodunnit = '2-APIUser: testuser'
|
||||
|
||||
@domain = create(:domain)
|
||||
@domain.creator_str.should == '2-ApiUser: testuser'
|
||||
@domain.creator_str.should == '2-APIUser: testuser'
|
||||
|
||||
@domain.creator.should == @api_user
|
||||
@domain.creator.should_not == @user
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue