test-app/Rakefile

Summary

Maintainability
Test Coverage
#!/usr/bin/env rake
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.

require File.expand_path('../config/application', __FILE__)

TestApp::Application.load_tasks

RSpec::Core::RakeTask.new('swaggerize') do |t|
  t.pattern = 'spec/requests/**/*_spec.rb, spec/api/**/*_spec.rb, spec/integration/**/*_spec.rb'
  t.rspec_opts = [ '--format Rswag::Specs::SwaggerFormatter', '--order defined' ]
end