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

View File

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