Rubocop rspec now fails fast

This commit is contained in:
Priit Tark 2015-03-09 17:34:20 +02:00
parent d0dfd70038
commit 563ef753d8
2 changed files with 2 additions and 2 deletions

View file

@ -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" }

View file

@ -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