Skip to content

Commit

Permalink
config for rspec in one line
Browse files Browse the repository at this point in the history
  • Loading branch information
dchelimsky committed Apr 27, 2009
1 parent 481bfe0 commit ffb56aa
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/webrat/rspec-rails.rb
Expand Up @@ -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

0 comments on commit ffb56aa

Please sign in to comment.