From 563ef753d8aad30e3662a56f6d1e5effc9543ada Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Mon, 9 Mar 2015 17:34:20 +0200 Subject: [PATCH] Rubocop rspec now fails fast --- Guardfile | 2 +- app/views/epp/contacts/info.xml.builder | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Guardfile b/Guardfile index e6d0a443a..07e24bf93 100644 --- a/Guardfile +++ b/Guardfile @@ -9,7 +9,7 @@ group :red_green_refactor, halt_on_fail: true do # watch(%r{^(config|lib)/.*}) # end - guard :rspec, cmd: 'spring rspec', notification: false do + guard :rspec, cmd: 'spring rspec --fail-fast', notification: false do watch(%r{^spec/.+_spec\.rb$}) watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" } watch('spec/spec_helper.rb') { "spec" } diff --git a/app/views/epp/contacts/info.xml.builder b/app/views/epp/contacts/info.xml.builder index 24480062d..8e2bf362e 100644 --- a/app/views/epp/contacts/info.xml.builder +++ b/app/views/epp/contacts/info.xml.builder @@ -5,7 +5,7 @@ xml.epp_head do end xml.resData do - xml.tag!('contact:chkData', 'xmlns:contact' => 'urn:ietf:params:xml:ns:contact-1.0') do + xml.tag!('contact:infData', 'xmlns:contact' => 'urn:ietf:params:xml:ns:contact-1.0') do xml.tag!('contact:id', @contact.code) xml << render('/epp/contacts/postal_info') xml.tag!('contact:voice', @contact.phone) #if @disclosure.try(:phone) || @owner