lib/guard/jasmine.rb in guard-jasmine-1.2.2 vs lib/guard/jasmine.rb in guard-jasmine-1.3.0

- old
+ new

@@ -126,10 +126,10 @@ # Gets called when watched paths and files have changes. # # @param [Array<String>] paths the changed paths and files # @raise [:task_has_failed] when run_on_change has failed # - def run_on_change(paths) + def run_on_changes(paths) specs = options[:keep_failed] ? paths + self.last_failed_paths : paths specs = Inspector.clean(specs, options) if options[:clean] return false if specs.empty? passed, failed_specs = Runner.run(specs, options)