Sha256: e3ce7393eeedb56a0a4e5a0a3e336c0b77793bb181e4693095931d02d946ae6f
Contents?: true
Size: 557 Bytes
Versions: 2
Compression:
Stored size: 557 Bytes
Contents
require 'spec_helper' describe Symbiont do let(:watir_browser) { mock_browser_for_watir } let(:watir_definition) { DefinitionTest.new(watir_browser) } context "a definition using watir-webdriver" do it "should return a watir platform object" do watir_definition.platform.should be_kind_of Symbiont::Platforms::WatirWebDriver::PlatformObject end end context "an unrecognized browser" do it "should raise an exception" do expect { DefinitionTest.new(:unknown_browser) }.to raise_error end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
symbiont-0.2.1 | spec/symbiont/platform_object_spec.rb |
symbiont-0.2.0 | spec/symbiont/platform_object_spec.rb |