Sha256: c36cf8add6b93f548f83bdb0de35680c2daf4df759435e13d7f9296013374d5d

Contents?: true

Size: 415 Bytes

Versions: 6

Compression:

Stored size: 415 Bytes

Contents

require 'page_magic/drivers/selenium'
module PageMagic
  class Drivers
    describe Selenium do
      subject do
        described_class.build(:app, browser: :selenium, options: {})
      end

      it 'is selenium' do
        expect(subject).to be_a(Capybara::Selenium::Driver)
      end

      it 'sets the browser option' do
        expect(subject.options[:browser]).to be(:selenium)
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
page_magic-1.0.0.alpha17 spec/page_magic/drivers/selenium_spec.rb
page_magic-1.0.0.alpha13 spec/page_magic/drivers/selenium_spec.rb
page_magic-1.0.0.alpha12 spec/page_magic/drivers/selenium_spec.rb
page_magic-1.0.0.alpha11 spec/page_magic/drivers/selenium_spec.rb
page_magic-1.0.0.alpha10 spec/page_magic/drivers/selenium_spec.rb
page_magic-1.0.0.alpha9 spec/page_magic/drivers/selenium_spec.rb