Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removes AutoTest config/ exception

* Mappings for files under config/ will work
* Fixes #625
* Closes 627
  • Loading branch information...
commit 738fd0d73603e4ab43a8ee8ff909f79405542fb6 1 parent b8392ac
@bjnord bjnord authored alindeman committed
Showing with 2 additions and 1 deletion.
  1. +1 −0  Changelog.md
  2. +1 −1  lib/autotest/rails_rspec2.rb
View
1  Changelog.md
@@ -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)
View
2  lib/autotest/rails_rspec2.rb
@@ -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

@alindeman
Collaborator

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

Please sign in to comment.
Something went wrong with that request. Please try again.