From ffb56aab903a40d21ba40b4f8b866b493a27530e Mon Sep 17 00:00:00 2001 From: David Chelimsky Date: Mon, 27 Apr 2009 11:54:46 -0500 Subject: [PATCH] config for rspec in one line --- lib/webrat/rspec-rails.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/webrat/rspec-rails.rb b/lib/webrat/rspec-rails.rb index b065702..d274987 100644 --- a/lib/webrat/rspec-rails.rb +++ b/lib/webrat/rspec-rails.rb @@ -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