Merge pull request #295 from internetee/registry-251

Registry 251
This commit is contained in:
Timo Võhmar 2016-12-15 10:10:30 +02:00 committed by GitHub
commit f7b51d0b06
33 changed files with 623 additions and 623 deletions

View file

@ -2,7 +2,7 @@ require 'rails_helper'
RSpec.describe 'EPP contact:create' do
let(:request_xml_with_address) { '<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<epp xmlns="https://epp.tld.ee/schema/epp-ee-1.0.xsd">
<command>
<create>
<contact:create xmlns:contact="https://epp.tld.ee/schema/contact-ee-1.1.xsd">
@ -86,7 +86,7 @@ RSpec.describe 'EPP contact:create' do
context 'without address' do
let(:request_xml_without_address) { '<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<epp xmlns="https://epp.tld.ee/schema/epp-ee-1.0.xsd">
<command>
<create>
<contact:create xmlns:contact="https://epp.tld.ee/schema/contact-ee-1.1.xsd">

View file

@ -2,7 +2,7 @@ require 'rails_helper'
RSpec.describe 'EPP contact:update' do
let(:request_xml) { '<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<epp xmlns="https://epp.tld.ee/schema/epp-ee-1.0.xsd">
<command>
<info>
<contact:info xmlns:contact="https://epp.tld.ee/schema/contact-ee-1.1.xsd">

View file

@ -2,7 +2,7 @@ require 'rails_helper'
RSpec.describe 'EPP contact:update' do
let(:request_xml_with_address) { '<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<epp xmlns="https://epp.tld.ee/schema/epp-ee-1.0.xsd">
<command>
<update>
<contact:update xmlns:contact="https://epp.tld.ee/schema/contact-ee-1.1.xsd">
@ -74,7 +74,7 @@ RSpec.describe 'EPP contact:update' do
context 'without address' do
let(:request_xml_without_address) { '<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<epp xmlns="https://epp.tld.ee/schema/epp-ee-1.0.xsd">
<command>
<update>
<contact:update xmlns:contact="https://epp.tld.ee/schema/contact-ee-1.1.xsd">

View file

@ -2,7 +2,7 @@ module Requests
module SessionHelpers
def sign_in_to_epp_area(user: FactoryGirl.create(:api_user_epp))
login_xml = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>
<epp xmlns=\"urn:ietf:params:xml:ns:epp-1.0\">
<epp xmlns=\"https://epp.tld.ee/schema/epp-ee-1.0.xsd\">
<command>
<login>
<clID>#{user.username}</clID>