Sha256: c176c19c1ae87b2fe581ba618839a8413faa8dd14433c077556c3afb11900b29
Contents?: true
Size: 668 Bytes
Versions: 11
Compression:
Stored size: 668 Bytes
Contents
require 'spec_helper' describe Geckodriver::Helper do let(:helper) { Geckodriver::Helper.new } describe '#binary_path' do context 'on a linux platform' do before { allow(helper).to receive(:platform) { 'linux32' } } it { expect(helper.binary_path).to match(/geckodriver$/) } end context 'on a mac platform' do before { allow(helper).to receive(:platform) { 'mac' } } it { expect(helper.binary_path).to match(/geckodriver$/) } end context 'on a windows platform' do before { allow(helper).to receive(:platform) { 'win' } } it { expect(helper.binary_path).to match(/geckodriver\.exe$/) } end end end
Version data entries
11 entries across 11 versions & 2 rubygems