lib/tasks/knapsack.rake in knapsack-0.1.1 vs lib/tasks/knapsack.rake in knapsack-0.1.2
- old
+ new
@@ -10,12 +10,10 @@
puts
puts 'Leftover specs:'
puts allocator.leftover_node_specs
puts
- custom_spec_dir = allocator.custom_spec_dir
- default_path = custom_spec_dir ? "--default-path #{custom_spec_dir}" : nil
- cmd = %Q[bundle exec rspec #{default_path} -- #{allocator.stringify_node_specs}]
+ cmd = %Q[bundle exec rspec --default-path #{allocator.spec_dir} -- #{allocator.stringify_node_specs}]
exec(cmd)
end
end