Permalink
Browse files

determine example group types by file path

  • Loading branch information...
1 parent fbbcc43 commit 6ee5fb89c772462a8b3fa21842412efac7155485 @dchelimsky dchelimsky committed Jan 25, 2010
@@ -22,6 +22,6 @@ def #{method}(action)
end
Rspec::Core.configure do |c|
- c.include self, :behaviour => { :describes => lambda {|c| c < ::ActionController::Base} }
+ c.include self, :behaviour => { :file_path => /\/spec\/controllers\// }
end
end
@@ -21,6 +21,6 @@ def last_response
end
Rspec::Core.configure do |c|
- c.include self, :behaviour => { :describes => /^\// }
+ c.include self, :behaviour => { :file_path => /\/spec\/requests\// }
end
end

0 comments on commit 6ee5fb8

Please sign in to comment.