Sha256: d1d169362cd4b225bae99b274b85cb95fccd87851fa5309c77d4972cb08b6be0
Contents?: true
Size: 430 Bytes
Versions: 28
Compression:
Stored size: 430 Bytes
Contents
require "spec_helper" describe Sauce::Selenium2 do describe "#file_detector" do it "should return the path of files when they exist" do Selenium::WebDriver::Remote::Bridge.any_instance.stub(:create_session).and_return({}) path = __FILE__ client = Sauce::Selenium2.new() bridge = client.driver.instance_variable_get(:@bridge) bridge.file_detector.call([path]).should eq path end end end
Version data entries
28 entries across 28 versions & 2 rubygems