config for rspec in one line

This commit is contained in:
David Chelimsky 2009-04-27 11:54:46 -05:00
parent 481bfe03c0
commit ffb56aab90
1 changed files with 1 additions and 4 deletions

View File

@ -6,8 +6,5 @@
require "webrat/core/matchers"
Spec::Runner.configure do |config|
# rspec should support :type => [:controller, :helper, :view] - but until it does ...
config.include(Webrat::Matchers, :type => :controller)
config.include(Webrat::Matchers, :type => :helper)
config.include(Webrat::Matchers, :type => :view)
config.include(Webrat::Matchers, :type => [:controller, :helper, :view])
end