huginn/lib/tasks/rspec.rake
Dominik Sander a6a06c1cd1 Separate feature and non feature spec runs on travis
Add database_cleaner gem
Set up coveralls parralel builds in travisci
Require capybara_helper in rails_helper to make clear it affects all tests
2016-05-12 10:03:23 +02:00

9 lines
280 B
Ruby

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