Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

How to get it working with Guard #13

Closed
barmstrong opened this Issue Jan 17, 2013 · 0 comments

Comments

Projects
None yet
1 participant

Just wanted to drop a note in here to let googlers know that settings in your Guardfile will override the settings in the .rspec file.

Got trolled hard by this, here is what the relevant line in my Guardfile looks like:

guard 'rspec', version: 2, cli: '--drb --colour --require rspec/instafail --format RSpec::Instafail', all_after_pass: false do
  ...
end

it works with documentation formatting also, but seems to have some duplication of output

guard 'rspec', version: 2, cli: '--drb --colour --format documentation --require rspec/instafail --format RSpec::Instafail', all_after_pass: false do
  ...
end

And it was safe to delete the .rspec file at that point (it was having no effect). Hope it helps!

@barmstrong barmstrong closed this Jan 17, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment