mirror of
https://github.com/internetee/registry.git
synced 2025-06-07 21:25:39 +02:00
Remove useless specs
This commit is contained in:
parent
6bab335f5a
commit
65a50a8db0
9 changed files with 0 additions and 152 deletions
|
@ -17,10 +17,6 @@ RSpec.describe ApiUser do
|
|||
])
|
||||
end
|
||||
|
||||
it 'should not have any versions' do
|
||||
@api_user.versions.should == []
|
||||
end
|
||||
|
||||
it 'should be active by default' do
|
||||
@api_user.active.should == true
|
||||
end
|
||||
|
@ -41,16 +37,6 @@ RSpec.describe ApiUser do
|
|||
@api_user.valid?
|
||||
@api_user.errors.full_messages.should match_array([])
|
||||
end
|
||||
|
||||
it 'should have one version' do
|
||||
with_versioning do
|
||||
@api_user.versions.should == []
|
||||
@api_user.username = 'newusername'
|
||||
@api_user.save
|
||||
@api_user.errors.full_messages.should match_array([])
|
||||
@api_user.versions.size.should == 1
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
describe '::min_password_length', db: false do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue