Sha256: 04b652b1f83ac85f17983235bb1ae44afbf5192a46143626c02563cd88343c94

Contents?: true

Size: 671 Bytes

Versions: 6

Compression:

Stored size: 671 Bytes

Contents

require_relative '../helpers/spec_helper'

describe 'iedriver downloader single line methods' do
  before(:all) do
    Chauffeur::Setup.create_folders_and_config
    @downloader = IedriverDownloader.new
  end
  after(:all) do
    FileUtils.rm_r("#{Dir.pwd}/drivers") if File.exist?("#{Dir.pwd}/drivers")
  end
  it 'has a browser name' do
    expect(@downloader.browser_name).to eq('iedriver')
  end
  it 'has a browser url' do
    expected = 'http://selenium-release.storage.googleapis.com/'
    expect(@downloader.driver_url).to eq(expected)
  end
  it 'has a browser url' do
    expected = %w[Win32 x64]
    expect(@downloader.all_platforms).to eq(expected)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
chauffeur-0.0.7 spec/iedriver_downloader_specs/iedriver_downloader_simple_spec.rb
chauffeur-0.0.6 spec/iedriver_downloader_specs/iedriver_downloader_simple_spec.rb
chauffeur-0.0.5 spec/iedriver_downloader_specs/iedriver_downloader_simple_spec.rb
chauffeur-0.0.4 spec/iedriver_downloader_specs/iedriver_downloader_simple_spec.rb
chauffeur-0.0.3 spec/iedriver_downloader_specs/iedriver_downloader_simple_spec.rb
chauffeur-0.0.2 spec/iedriver_downloader_specs/iedriver_downloader_simple_spec.rb