Sha256: c92dab65c64aac452810d13a98423d556b4e712f65f7eb232bcb916e98484bc4
Contents?: true
Size: 490 Bytes
Versions: 2
Compression:
Stored size: 490 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + "/../spec_helper") require "spectie/selenium" require File.expand_path(File.dirname(__FILE__) + "/../../selenium_config") module SeleniumStoryExampleGroupTestingHelper def with_selenium_control Spec::Runner.configuration.selenium.controlled = true yield ensure Spec::Runner.configuration.selenium.controlled = false end end Spec::Runner.configure do |config| config.include(SeleniumStoryExampleGroupTestingHelper) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spectie-0.0.4 | spec/spectie/selenium/spec_helper.rb |
spectie-0.0.3 | spec/spectie/selenium/spec_helper.rb |