Sha256: efbcd67a7550d1d58a480e88a7150fcc8b79695c4d6ac74225b2a7c2a79285e1

Contents?: true

Size: 850 Bytes

Versions: 2

Compression:

Stored size: 850 Bytes

Contents

Feature: Initialize a global configuration
  In order to configure chemistrykit
  As a chemistry kit harness developer
  I want to specify configurations in a central file so they are available in test scripts

  Scenario: Use a configuration option in a beaker
    Given I run `bundle exec ckit new global-config-test`
    And I cd to "global-config-test"
    And a file named "beakers/test_beaker.rb" with:
    """
    describe "Cheese", :depth => 'shallow' do
      it "loads an external web page" do
        @driver.get @config.base_url
        @driver.title.should include("Google")
      end
    end
    """
    And I overwrite config.yaml with:
    """
    base_url: http://www.google.com
    selenium_connect:
        host: 'localhost'
    """
    When I run `bundle exec ckit brew`
    Then the stdout should contain "1 example, 0 failures"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
chemistrykit-3.10.1 features/global-config.feature
chemistrykit-3.10.0 features/global-config.feature