internetee-registry/spec/validators/contact/ident/mismatch_validator_spec.rb
2017-09-12 14:55:41 +03:00

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