Remove useless specs

This commit is contained in:
Artur Beljajev 2019-04-03 20:25:40 +03:00
parent 6bab335f5a
commit 65a50a8db0
9 changed files with 0 additions and 152 deletions

View file

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