lib/autotest/rails_rspec2.rb in rspec-rails-2.6.1 vs lib/autotest/rails_rspec2.rb in rspec-rails-2.7.0.rc1

- old
+ new

@@ -40,10 +40,10 @@ clear_mappings add_mapping(%r%^(test|spec)/fixtures/(.*).yml$%) { |_, m| ["spec/models/#{m[2].singularize}_spec.rb"] + files_matching(%r%^spec\/views\/#{m[2]}/.*_spec\.rb$%) } - add_mapping(%r%^spec/(models|controllers|routing|views|helpers|mailers|requests|lib)/.*rb$%) { |filename, _| + add_mapping(%r%^spec/.*_spec\.rb$%) { |filename, _| filename } add_mapping(%r%^app/models/(.*)\.rb$%) { |_, m| ["spec/models/#{m[1]}_spec.rb"] }