rspec.rake 280 B

123456789
  1. if defined? RSpec
  2. namespace :spec do
  3. desc 'Run all specs in spec directory (exluding feature specs)'
  4. RSpec::Core::RakeTask.new(:nofeatures) do |task|
  5. ENV['RSPEC_TASK'] = 'spec:nofeatures'
  6. task.exclude_pattern = "spec/features/**/*_spec.rb"
  7. end
  8. end
  9. end