From af2e9c2d9e7d4d5606318cae230ed0edf44437df Mon Sep 17 00:00:00 2001 From: Martin Lensment Date: Mon, 1 Jun 2015 17:08:00 +0300 Subject: [PATCH] Remove redundant file #2660 --- t | 195 -------------------------------------------------------------- 1 file changed, 195 deletions(-) delete mode 100644 t diff --git a/t b/t deleted file mode 100644 index fc3482031..000000000 --- a/t +++ /dev/null @@ -1,195 +0,0 @@ -diff --git a/doc/schemas/contact-1.0.xsd b/doc/schemas/contact-1.0.xsd -index dc2b366..9fa665a 100644 ---- a/doc/schemas/contact-1.0.xsd -+++ b/doc/schemas/contact-1.0.xsd -@@ -12,6 +12,7 @@ - --> -  -  -+   -  -  -  -@@ -94,7 +95,7 @@ - --> -  -  --  -+   -  -  -  -  --  --  -+ minOccurs="0"/>  -+   -+  -  -  -  -@@ -117,8 +117,7 @@ - minOccurs="0"/> -  -  --  -+   -  -  -  -@@ -148,21 +147,6 @@ -  -  -  --  --  --  --  --  --  --  --  --  --  --  -- -  -  -@@ -240,8 +224,6 @@ - minOccurs="0"/> -  --  -  -  -  -@@ -331,8 +313,6 @@ - minOccurs="0"/> -  --  -  -  -  -diff --git a/doc/schemas/eis-1.0.xsd b/doc/schemas/eis-1.0.xsd -index 390c455..98a73ca 100644 ---- a/doc/schemas/eis-1.0.xsd -+++ b/doc/schemas/eis-1.0.xsd -@@ -26,8 +26,8 @@ -  -  -- -+  -  -  -  -@@ -55,10 +55,11 @@ -  -  -  --  -+  -+ -+  -+  -+  -+  -+  -+  -  -diff --git a/spec/epp/contact_spec.rb b/spec/epp/contact_spec.rb -index 02540e1..c576808 100644 ---- a/spec/epp/contact_spec.rb -+++ b/spec/epp/contact_spec.rb -@@ -2,6 +2,7 @@ require 'rails_helper' -  - describe 'EPP Contact', epp: true do - before :all do -+ @xsd = Nokogiri::XML::Schema(File.read('doc/schemas/contact-1.0.xsd')) - @registrar1 = Fabricate(:registrar1) - @registrar2 = Fabricate(:registrar2) - @epp_xml = EppXml::Contact.new(cl_trid: 'ABC-12345') -@@ -15,7 +16,7 @@ describe 'EPP Contact', epp: true do -  - @extension = { - legalDocument: { -- value: 'JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp==', -+ value: 'dGVzdCBmYWlsCg==', - attrs: { type: 'pdf' } - }, - ident: { -@@ -31,8 +32,10 @@ describe 'EPP Contact', epp: true do - extension = @extension if extension.blank? -  - defaults = { -+ id: nil, - postalInfo: { - name: { value: 'John Doe' }, -+ org: nil, - addr: { - street: { value: '123 Example' }, - city: { value: 'Tallinn' }, -@@ -48,7 +51,7 @@ describe 'EPP Contact', epp: true do - end -  - it 'fails if request xml is missing' do -- response = epp_plain_request(@epp_xml.create, :xml) -+ response = epp_plain_request(@epp_xml.create, validate_input: false) - response[:results][0][:msg].should == - 'Required parameter missing: create > create > postalInfo > name [name]' - response[:results][1][:msg].should == -@@ -103,7 +106,7 @@ describe 'EPP Contact', epp: true do - it 'successfully saves ident type' do - extension = { - legalDocument: { -- value: 'JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp==', -+ value: 'dGVzdCBmYWlsCg==', - attrs: { type: 'pdf' } - }, - ident: { -@@ -205,7 +208,7 @@ describe 'EPP Contact', epp: true do - end -  - it 'should generate server id when id is empty' do -- response = create_request({ id: { value: '' } }) -+ response = create_request({ id: nil }) -  - response[:msg].should == 'Command completed successfully' - response[:result_code].should == '1000' -@@ -381,7 +384,7 @@ describe 'EPP Contact', epp: true do - it 'should update ident' do - extension = { - legalDocument: { -- value: 'JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp==', -+ value: 'dGVzdCBmYWlsCg==', - attrs: { type: 'pdf' } - }, - ident: {