bin/rs in geordi-0.9.7 vs bin/rs in geordi-0.9.8
- old
+ new
@@ -16,15 +16,13 @@
# Check if parallel_tests is available
parallel_tests_available = ['rake', 'parallel:spec'] if File.exists?('Gemfile') && File.open('Gemfile').read.scan(/parallel_tests/).any?
use_parallel_tests = parallel_tests_available && (ARGV[0] == nil)
-# Run examples in 'spec' unless an argument is given
-ARGV[0] ||= 'spec'
-
if use_parallel_tests
puts "Using parallel_tests ...\n\n"
- exec *['b', 'rake', 'parallel:spec', ARGV].flatten
+ exec 'b rake parallel:spec'
else
# Run rspec behind bundler
+ ARGV[0] ||= 'spec'
exec *["b", rspec_args, spinner_args, ARGV].flatten
-end
\ No newline at end of file
+end