Add xml output for epp_request in specs

This commit is contained in:
Martin Lensment 2014-12-09 13:49:36 +02:00
parent 4615e99527
commit d95224cf9c
3 changed files with 44 additions and 2 deletions

View file

@ -22,6 +22,12 @@ if Rails.env.test? || Rails.env.development?
t.rspec_opts = '--tag ~feature'
end
desc 'Generate EPP doc from specs'
RSpec::Core::RakeTask.new('test:epp_doc') do |t|
ENV['EPP_DOC'] = 'true'
t.rspec_opts = '--tag epp --require support/epp_doc.rb --format EppDoc'
end
Rake::Task[:default].prerequisites.clear
task default: :test