Sha256: 60432d201416caac0d722d933d2c25d2815f026740a31e0142c75237612366fb

Contents?: true

Size: 380 Bytes

Versions: 21

Compression:

Stored size: 380 Bytes

Contents

require 'page_magic/drivers/selenium'
module PageMagic
  describe Drivers::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

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
page_magic-1.2.9 spec/page_magic/drivers/selenium_spec.rb
page_magic-1.2.8 spec/page_magic/drivers/selenium_spec.rb
page_magic-1.2.8.alpha spec/page_magic/drivers/selenium_spec.rb
page_magic-1.2.7 spec/page_magic/drivers/selenium_spec.rb
page_magic-1.2.6 spec/page_magic/drivers/selenium_spec.rb
page_magic-1.2.5 spec/page_magic/drivers/selenium_spec.rb
page_magic-1.2.5.alpha1 spec/page_magic/drivers/selenium_spec.rb
page_magic-1.2.4 spec/page_magic/drivers/selenium_spec.rb
page_magic-1.2.3 spec/page_magic/drivers/selenium_spec.rb
page_magic-1.2.1 spec/page_magic/drivers/selenium_spec.rb
page_magic-1.2.0 spec/page_magic/drivers/selenium_spec.rb
page_magic-1.1.0 spec/page_magic/drivers/selenium_spec.rb
page_magic-1.0.4 spec/page_magic/drivers/selenium_spec.rb
page_magic-1.0.3 spec/page_magic/drivers/selenium_spec.rb
page_magic-1.0.2 spec/page_magic/drivers/selenium_spec.rb
page_magic-1.0.1 spec/page_magic/drivers/selenium_spec.rb
page_magic-1.0.0 spec/page_magic/drivers/selenium_spec.rb
page_magic-1.0.0.alpha21 spec/page_magic/drivers/selenium_spec.rb
page_magic-1.0.0.alpha20 spec/page_magic/drivers/selenium_spec.rb
page_magic-1.0.0.alpha19 spec/page_magic/drivers/selenium_spec.rb