Sha256: f45117c57193666bb4a7e31892a7e8a3e886c6092ba59eedcb7f673810da4d80
Contents?: true
Size: 519 Bytes
Versions: 42
Compression:
Stored size: 519 Bytes
Contents
# Supports using the matchers in controller, helper, and view specs if you're # using rspec-rails. Just add a require statement to spec/spec_helper.rb or env.rb: # # require 'webrat/rspec-rails' # 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) end
Version data entries
42 entries across 42 versions & 13 rubygems