Sha256: 4789682bbd5eda53477aefbd3f5c6e0ae77780373a717f48f77ff9ed72db91e5

Contents?: true

Size: 709 Bytes

Versions: 6

Compression:

Stored size: 709 Bytes

Contents

require_relative '../helpers/spec_helper'

describe 'firefoxdriver downloader single line methods' do
  before(:all) do
    Chauffeur::Setup.create_folders_and_config
    @downloader = FirefoxdriverDownloader.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('geckodriver')
  end
  it 'has a browser url' do
    expected = 'https://github.com/mozilla/geckodriver/releases/'
    expect(@downloader.driver_url).to eq(expected)
  end
  it 'has a browser url' do
    expected = %w[linux32 linux64 macos win32 win64]
    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/firefoxdriver_downloader_specs/firefoxdriver_downloader_simple_spec.rb
chauffeur-0.0.6 spec/firefoxdriver_downloader_specs/firefoxdriver_downloader_simple_spec.rb
chauffeur-0.0.5 spec/firefoxdriver_downloader_specs/firefoxdriver_downloader_simple_spec.rb
chauffeur-0.0.4 spec/firefoxdriver_downloader_specs/firefoxdriver_downloader_simple_spec.rb
chauffeur-0.0.3 spec/firefoxdriver_downloader_specs/firefoxdriver_downloader_simple_spec.rb
chauffeur-0.0.2 spec/firefoxdriver_downloader_specs/firefoxdriver_downloader_simple_spec.rb