>
> 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)
> end
>

should read:

Spec::Runner.configure do |config|
  # rspec should support :type => [:controller, :helper, :view] - but until
it does ...
   config.include(MyCustom::Matchers, :type => :controller)
   config.include(MyCustom::Matchers, :type => :helper)
   config.include(MyCustom::Matchers, :type => :view
end

cheers,
joaquin

-- 
www.least-significant-bit.com
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to