Rakefile in ncs_mdes-0.4.1 vs Rakefile in ncs_mdes-0.4.2
- old
+ new
@@ -1,7 +1,15 @@
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
+require 'ci/reporter/rake/rspec'
RSpec::Core::RakeTask.new do |t|
t.pattern = "spec/**/*_spec.rb"
+end
+
+namespace :ci do
+ ENV["CI_REPORTS"] = "reports/spec-xml"
+
+ desc "Run specs for CI"
+ task :spec => ['ci:setup:rspec', 'rake:spec']
end