spec.rake 331 B

1234567891011
  1. begin
  2. require 'rspec/core/rake_task'
  3. desc 'Run RSpecs to confirm that all functionality is working as expected'
  4. RSpec::Core::RakeTask.new('spec') do |t|
  5. t.rspec_opts = ['--colour', '--format nested']
  6. t.pattern = 'spec/**/*_spec.rb'
  7. end
  8. rescue LoadError
  9. puts "Hiding spec tasks because RSpec is not available"
  10. end