Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (11 sloc) 344 Bytes
ENV["RAILS_ENV"] ||= "cucumber"
require File.expand_path(File.dirname(__FILE__) + '/../../config/environment')
require 'steam'
require 'test/unit'
# require 'rspec'
Steam.config[:html_unit][:java_path] = 'path/to/your/htmlunit-2.6'
browser = Steam::Browser.create
World do
Steam::Session::Rails.new(browser)
end
at_exit { browser.close }