guard/guard-rspec — Issue #67: Option all_after_pass not executing
Author: Reidef
Created: 2011-11-18 04:46:48+00:00
State: open

I'm not sure if this is related to https://github.com/guard/guard-rspec/issues/53 (I suspect not since it would appear that issue is handled. Just installed in new app I'm building from scratch (Ruby 1.9.3, Rails 3.1.1) and everything seems to be working correctly except running all specs after clearing a failing test.

Using guard (0.8.8)
Using guard-rspec (0.5.4)
Using spork (0.9.0.rc9)
Using guard-spork (0.3.1)

My Guardfile is pretty much untouched. Is anyone else having this problem? Is there something strange with my configuration?

```
guard 'rspec', :version => 2, :cli => "--drb" do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }

# Rails example
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^app/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
watch(%r{^app/(.*)(\.erb|\.haml)$}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
watch(%r{^app/controllers/(.+)_(controller)\.rb$}) { |m| ["spec/routing/#{m[1]}_routing_spec.rb", "spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb", "spec/acceptance/#{m[1]}_spec.rb"] }
watch(%r{^spec/support/(.+)\.rb$}) { "spec" }
watch('spec/spec_helper.rb') { "spec" }
watch('config/routes.rb') { "spec/routing" }
watch('app/controllers/application_controller.rb') { "spec/controllers" }
# Capybara request specs
watch(%r{^app/views/(.+)/.*\.(erb|haml)$}) { |m| "spec/requests/#{m[1]}_spec.rb" }
end
```