Sha256: 567ed286f4cc1b81fae2f47ec1cc0e55cfea9d8f54a2c9b86c2ff31520f2f7dd
Contents?: true
Size: 580 Bytes
Versions: 4
Compression:
Stored size: 580 Bytes
Contents
begin require 'spec' module Sauce module RSpec class SeleniumExampleGroup < Spec::Example::ExampleGroup attr_reader :selenium before(:all) do @selenium = Sauce::Selenium.new end before(:each) do @selenium.start end after(:each) do @selenium.stop end alias_method :page, :selenium alias_method :s, :selenium Spec::Example::ExampleGroupFactory.register(:selenium, self) end end end rescue LoadError # User doesn't have RSpec installed end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
sauce-0.6.3 | lib/sauce/integrations.rb |
sauce-0.6.2 | lib/sauce/integrations.rb |
sauce-0.6.1 | lib/sauce/integrations.rb |
sauce-0.6.0 | lib/sauce/integrations.rb |