Permalink
Browse files

Revert "determine example group types by file path"

This reverts commit 6ee5fb8.
  • Loading branch information...
1 parent b3436a7 commit 2e1f71192fb92c3459c4a209c4372926844f0ced @dchelimsky dchelimsky committed Feb 5, 2010
@@ -26,6 +26,6 @@ def #{method}(action)
end
Rspec::Core.configure do |c|
- c.include self, :behaviour => { :file_path => /\/spec\/controllers\// }
+ c.include self, :behaviour => { :describes => lambda {|c| c < ::ActionController::Base} }
end
end
@@ -21,6 +21,6 @@ def last_response
end
Rspec::Core.configure do |c|
- c.include self, :behaviour => { :file_path => /\/spec\/requests\// }
+ c.include self, :behaviour => { :describes => /^\// }
end
end

0 comments on commit 2e1f711

Please sign in to comment.