Sha256: 0c739ceb47cce3372ea2b745aa5d4b8d0d1af0e1dc60c1d76155a7cd7775b511
Contents?: true
Size: 562 Bytes
Versions: 4
Compression:
Stored size: 562 Bytes
Contents
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require 'rspec' require 'simplecov' SimpleCov.start do add_filter "/spec/" end require 'domkey' SimpleCov.command_name "test:units" module DomkeySpecHelper def goto_watirspec file goto("file://" + __dir__ + "/watirspec/html/#{file}") end def goto_html file goto("file://" + __dir__ + "/html/#{file}") end def goto path Domkey.browser.goto path end end RSpec.configure do |config| config.include DomkeySpecHelper config.after :all do Domkey.browser.close end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
domkey-0.4.0 | spec/spec_helper.rb |
domkey-0.3.1 | spec/spec_helper.rb |
domkey-0.3.0 | spec/spec_helper.rb |
domkey-0.2.0 | spec/spec_helper.rb |