Fuel orchestrator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Rakefile 333B

123456789101112
  1. require 'rspec/core/rake_task'
  2. namespace :spec do
  3. RSpec::Core::RakeTask.new(:unit) do |t|
  4. t.rspec_opts = "--color --format documentation"
  5. specfile = ENV['S'].to_s.strip.length > 0 ? "*#{ENV['S']}*" : '*'
  6. t.pattern = "spec/unit/**/#{specfile}_spec.rb"
  7. end
  8. end
  9. task :default => 'spec:unit'
  10. task :spec => 'spec:unit'