include Webrat::Selenium::Matchers into Webrat::Selenium::Rails::World
This commit is contained in:
parent
0e9f4731bb
commit
f53e415076
@ -2,6 +2,7 @@ require "webrat"
|
|||||||
gem "selenium-client", ">=1.2.9"
|
gem "selenium-client", ">=1.2.9"
|
||||||
require "selenium/client"
|
require "selenium/client"
|
||||||
require "webrat/selenium/selenium_session"
|
require "webrat/selenium/selenium_session"
|
||||||
|
require "webrat/selenium/matchers"
|
||||||
|
|
||||||
Webrat.configuration.mode = :selenium
|
Webrat.configuration.mode = :selenium
|
||||||
|
|
||||||
@ -76,6 +77,7 @@ module Webrat
|
|||||||
|
|
||||||
module Rails #:nodoc:
|
module Rails #:nodoc:
|
||||||
class World < ::ActionController::IntegrationTest
|
class World < ::ActionController::IntegrationTest
|
||||||
|
include Webrat::Selenium::Matchers
|
||||||
|
|
||||||
def initialize #:nodoc:
|
def initialize #:nodoc:
|
||||||
@_result = Test::Unit::TestResult.new
|
@_result = Test::Unit::TestResult.new
|
||||||
|
Loading…
Reference in New Issue
Block a user