master/spec
Michael Kessler e33f5df518 Make Guard implementation of :task_has_failed simple.
This change makes sure that Guard implementation can just
`throw :task_has_failed` without knowing whether the enclosing
group has enabled :halt_on_fail.

The problem with throw/catch is, that when you throw a :symbol,
you'll have to catch it, otherwise you get a 'uncatched throw' error.

When the Guard group has not enabled :halt_on_fail, we catch the throw
when execute the supervised task.
2011-09-30 18:35:04 +02:00
..
fixtures Add some specs for Guard.start (just to ensure core methods are well called…) 2011-07-29 00:23:20 +02:00
guard Refactor the watch_all_modifications specs. 2011-09-28 15:57:30 +02:00
support Fix wrong wording. 2011-09-28 15:16:19 +02:00
guard_spec.rb Make Guard implementation of :task_has_failed simple. 2011-09-30 18:35:04 +02:00
spec_helper.rb First implementation of #97 "Guard dependencies". 2011-09-16 01:01:58 +02:00