Fix code climate offences

#569
This commit is contained in:
Artur Beljajev 2017-09-04 10:57:27 +03:00
parent dbf5c8b4aa
commit 7147144894
8 changed files with 38 additions and 18 deletions

View file

@ -164,7 +164,7 @@ RSpec.describe Contact::Ident, db: false do
describe '::mismatches' do
it 'returns mismatches' do
mismatches = [
Contact::Ident::Mismatch.new('birthday', Country.new('EE')),
Contact::Ident::Mismatch.new('birthday', Country.new('EE'))
]
expect(described_class.mismatches).to eq(mismatches)

View file

@ -12,7 +12,7 @@ RSpec.describe EPP::Response::Result, db: false do
'2001' => :syntax_error,
'2003' => :required_param_missing,
'2005' => :param_syntax_error,
'2308' => :data_management_policy_violation,
'2308' => :data_management_policy_violation
}
expect(described_class.codes).to eq(codes)