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

autotest mapping for spec/support/*.rb #233

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
1 participant
Contributor

matthewtodd commented Oct 8, 2010

Hi, all --

I just happened to notice that autotest wasn't re-running specs when I changed spec/support/blueprints.rb.

It seems that, while the generated spec_helper.rb suggests spec/support, the autotest mappings say spec/shared instead.

This patch updates the autotest mappings to say spec/support, which I'm assuming is a good idea, since cucumber also uses the word "support" for this kind of subdirectory.

All the best, -- Matthew

@matthewtodd matthewtodd Make Autotest::RailsRspec2 honor spec/support/*.rb
Previously, it looked at a subdirectory called "shared," but the
generated spec_helper guides us towards one named "support" instead.

(Alternatively, we could have changed the generated spec_helper to
suggest "shared" instead, but since cucumber uses "features/support,"
this seems like a good choice.)
a985676
Contributor

matthewtodd commented Oct 8, 2010

Make Autotest::RailsRspec2 honor spec/support/*.rb

Previously, it looked at a subdirectory called "shared," but the
generated spec_helper guides us towards one named "support" instead.

(Alternatively, we could have changed the generated spec_helper to
suggest "shared" instead, but since cucumber uses "features/support,"
this seems like a good choice.)

This issue was closed.

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