cantino/huginn

View on GitHub
lib/tasks/rspec.rake

Summary

Maintainability
Test Coverage
if defined? RSpec
  namespace :spec do
    desc 'Run all specs in spec directory (exluding feature specs)'
    RSpec::Core::RakeTask.new(:nofeatures) do |task|
      ENV['RSPEC_TASK'] = 'spec:nofeatures'
      task.exclude_pattern = "spec/features/**/*_spec.rb"
    end
  end
end