Sha256: 548b6c4b93c115d9655c5d0267a1147e6323dc170b7ae13bb3ec847e959c9b08

Contents?: true

Size: 592 Bytes

Versions: 6

Compression:

Stored size: 592 Bytes

Contents

require 'selenium-connect'

describe "YAML" do

  it 'setting config_file returns a proper config object' do
    SeleniumConnect.configure do |c|
      c.config_file = "#{Dir.pwd}/spec/example.yaml"
    end
    config = SeleniumConnect.debug_config
    config.class.should == SeleniumConnect::Configuration
    config.inspect.empty?.should == false
  end

  it 'chrome', :wip => true do
    SeleniumConnect.configure do |c|
      c.config_file = "#{Dir.pwd}/spec/example.yaml"
    end
    driver = SeleniumConnect.start
    driver.get 'http://google.com'
    SeleniumConnect.finish
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
selenium-connect-2.0.0 spec/yaml_spec.rb
selenium-connect-1.9.3 spec/yaml_spec.rb
selenium-connect-1.9.1 spec/yaml_spec.rb
selenium-connect-1.9.0 spec/yaml_spec.rb
selenium-connect-1.8.1 spec/yaml_spec.rb
selenium-connect-1.8.0 spec/yaml_spec.rb