Permalink
Browse files

Removes AutoTest config/ exception

* Mappings for files under config/ will work
* Fixes #625
* Closes 627
  • Loading branch information...
1 parent b8392ac commit 738fd0d73603e4ab43a8ee8ff909f79405542fb6 @bjnord bjnord committed with alindeman Oct 20, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −0 Changelog.md
  2. +1 −1 lib/autotest/rails_rspec2.rb
View
@@ -16,6 +16,7 @@ Bug fixes
(Andy Lindeman)
* `render` properly infers the view to be rendered in Rails 3.0 and 3.1
(John Firebaugh)
+* AutoTest mappings involving config/ work correctly (Brent J. Nordquist)
### 2.11.4 / 2012-10-14
[full changelog](http://github.com/rspec/rspec-rails/compare/v2.11.0...v2.11.4)
@@ -33,7 +33,7 @@ def initialize
end
def setup_rails_rspec2_mappings
- %w{config/ coverage/ db/ doc/ log/ public/ script/ tmp/ vendor/rails vendor/plugins vendor/gems}.each do |exception|
+ %w{coverage/ db/ doc/ log/ public/ script/ tmp/ vendor/rails vendor/plugins vendor/gems}.each do |exception|
add_exception(/^([\.\/]*)?#{exception}/)
end

1 comment on commit 738fd0d

Contributor

alindeman commented on 738fd0d Oct 20, 2012

Doh, I missed the # symbol. This closes #627.

Please sign in to comment.