Skip to content

Instantly share code, notes, and snippets.

@mbleigh
Created March 23, 2009 23:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbleigh/83859 to your computer and use it in GitHub Desktop.
Save mbleigh/83859 to your computer and use it in GitHub Desktop.
Autotest.add_hook :initialize do |at|
at.add_mapping(/app\/shared\/.*\.rb/) do
at.files_matching /^app\/shared\/spec\/(models)\/.*_spec\.rb/
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment