mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
Add xml output for epp_request in specs
This commit is contained in:
parent
4615e99527
commit
d95224cf9c
3 changed files with 44 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue