lib/guard/spork/spork_instance.rb in guard-spork-0.6.1 vs lib/guard/spork/spork_instance.rb in guard-spork-0.7.0

- old
+ new

@@ -49,10 +49,11 @@ end def command parts = [] parts << "bundle exec" if use_bundler? + parts << "foreman run" if use_foreman? parts << "spork" if type == :test_unit parts << "testunit" elsif type == :cucumber @@ -76,9 +77,13 @@ private def use_bundler? options[:bundler] + end + + def use_foreman? + options[:foreman] end end end end