11 lines
345 B
Ruby
11 lines
345 B
Ruby
# 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|
|
|
config.include(Webrat::Matchers, :type => [:controller, :helper, :view])
|
|
end
|