Skip to content

Commit

Permalink
Add support for parallel_rspec
Browse files Browse the repository at this point in the history
  • Loading branch information
jutonz committed Jul 7, 2015
1 parent 28bc961 commit 1548c96
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ RSpec::Core::RakeTask.new(:spec)

task default: :spec

namespace :parallel do
task :spec do
sh "parallel_rspec spec/"
end
end

task :watch do
folders_to_watch = 'bin lib spec'
action_on_change = 'bundle exec rake'
Expand All @@ -15,4 +21,4 @@ task :watch do
puts 'You need to have the filewatcher gem installed to perform this task.'
puts 'Install with \'gem install filewatcher\''
end
end
end
1 change: 1 addition & 0 deletions where_to.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "simplecov", "~> 0.10.0"
spec.add_development_dependency "coveralls", "~> 0.8.1"
spec.add_development_dependency "rspec", "~> 3.2"
spec.add_development_dependency "parallel_tests", "~> 1.5.0"

spec.add_dependency "tvdb_party", "~> 0.8.0"
end

0 comments on commit 1548c96

Please sign in to comment.