Sha256: f0bcc0040bff6698f0047a1e61f7b7cfe0936b37ebf96c0f36de583883c36f22

Contents?: true

Size: 434 Bytes

Versions: 6

Compression:

Stored size: 434 Bytes

Contents

require 'selenium-connect'
require 'rspec/core/shared_context'

module ChemistryKit
  module SharedContext
    extend RSpec::Core::SharedContext

      SeleniumConnect.configure do |c|
        c.config_file = File.join(Dir.getwd, '_config.yaml')
      end

      before(:each) do
        @driver = SeleniumConnect.start
      end

      after(:each) do
        SeleniumConnect.finish
      end

  end #SharedContext
end #ChemistryKit

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
chemistrykit-1.3.0 lib/chemistrykit/shared_context.rb
chemistrykit-1.2.1 lib/chemistrykit/shared_context.rb
chemistrykit-1.2.0 lib/chemistrykit/shared_context.rb
chemistrykit-1.1.1 lib/chemistrykit/shared_context.rb
chemistrykit-1.1.0 lib/chemistrykit/shared_context.rb
chemistrykit-1.0.0 lib/chemistrykit/shared_context.rb