mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 17:37:17 +02:00
13 lines
330 B
Ruby
13 lines
330 B
Ruby
require 'rails_helper'
|
|
|
|
RSpec.describe Contact::Ident::MismatchValidator do
|
|
describe '::mismatches' do
|
|
it 'returns mismatches' do
|
|
mismatches = [
|
|
Contact::Ident::MismatchValidator::Mismatch.new('birthday', Country.new('EE'))
|
|
]
|
|
|
|
expect(described_class.mismatches).to eq(mismatches)
|
|
end
|
|
end
|
|
end
|