Sha256: e3c98539b50ea8e4db55937f5979841167eb8749bd0efae5c99116db27f2f8a6

Contents?: true

Size: 232 Bytes

Versions: 7

Compression:

Stored size: 232 Bytes

Contents

require "druid"
require "watir"

def mock_driver
  driver = double('watir')
  allow(driver).to receive(:is_a?).with(anything()).and_return(false)
  allow(driver).to receive(:is_a?).with(Watir::Browser).and_return(true)
  driver
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
druid-s-1.0.0 spec/spec_helper.rb
druid-ts-1.2.6 spec/spec_helper.rb
druid-ts-1.2.5 spec/spec_helper.rb
druid-ts-1.2.4 spec/spec_helper.rb
druid-ts-1.2.3 spec/spec_helper.rb
druid-ts-1.2.2 spec/spec_helper.rb
druid-ts-1.2.1 spec/spec_helper.rb