mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
Fix rubocop
This commit is contained in:
parent
d8ba91ec88
commit
c1e91a0703
6 changed files with 103 additions and 101 deletions
|
@ -629,7 +629,8 @@ describe 'EPP Domain', epp: true do
|
|||
})
|
||||
|
||||
response = epp_plain_request(xml, :xml)
|
||||
response[:msg].should == 'Mutually exclusive parameters: extension > create > keyData, extension > create > dsData'
|
||||
response[:msg].should == 'Mutually exclusive parameters: extension > create > keyData, '\
|
||||
'extension > create > dsData'
|
||||
response[:result_code].should == '2306'
|
||||
end
|
||||
end
|
||||
|
|
|
@ -163,7 +163,8 @@ describe 'EPP Keyrelay', epp: true do
|
|||
})
|
||||
|
||||
response = epp_request(xml, :xml, :elkdata)
|
||||
response[:msg].should == 'Exactly one parameter required: keyrelay > expiry > relative OR keyrelay > expiry > absolute'
|
||||
response[:msg].should == 'Exactly one parameter required: keyrelay > expiry > relative OR '\
|
||||
'keyrelay > expiry > absolute'
|
||||
|
||||
@zone.messages.queued.count.should == msg_count
|
||||
end
|
||||
|
|
|
@ -176,17 +176,17 @@ end
|
|||
|
||||
# TODO: investigate it a bit more
|
||||
# describe Contact, '#relations_with_domain?' do
|
||||
# context 'with relation' do
|
||||
# before :all do
|
||||
# create_settings
|
||||
# Fabricate(:domain)
|
||||
# @contact = Fabricate(:contact)
|
||||
# end
|
||||
# context 'with relation' do
|
||||
# before :all do
|
||||
# create_settings
|
||||
# Fabricate(:domain)
|
||||
# @contact = Fabricate(:contact)
|
||||
# end
|
||||
|
||||
# it 'should have relation with domain' do
|
||||
# @contact.relations_with_domain?.should == true
|
||||
# end
|
||||
# end
|
||||
# it 'should have relation with domain' do
|
||||
# @contact.relations_with_domain?.should == true
|
||||
# end
|
||||
# end
|
||||
# end
|
||||
|
||||
describe Contact, '.extract_params' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue