mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 17:37:17 +02:00
Merge branch 'master' into registry-251
# Conflicts: # doc/epp/README.md # lib/schemas/all-ee-1.1.xsd # lib/schemas/contact-ee-1.1.xsd # lib/schemas/epp-ee-1.0.xsd # spec/factories/api_user.rb # spec/rails_helper.rb # spec/support/requests/session_helpers.rb
This commit is contained in:
commit
3d6a0936c7
4 changed files with 22 additions and 18 deletions
|
@ -30,9 +30,13 @@ RSpec.describe AdminUser do
|
|||
@admin_user.valid?.should == true
|
||||
@admin_user.password = 'not confirmed'
|
||||
@admin_user.valid?
|
||||
@admin_user.errors.full_messages.should match_array([
|
||||
"Password confirmation doesn't match Password"
|
||||
])
|
||||
@admin_user.errors.full_messages.should match_array(["Password confirmation doesn't match Password"])
|
||||
end
|
||||
end
|
||||
|
||||
describe '::min_password_length' do
|
||||
it 'returns minimum password length' do
|
||||
expect(described_class.min_password_length).to eq(8)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue