Sha256: e06254ca40d9cadf16c7277c3482a529b8568b96050c9090d675a921235bcabf

Contents?: true

Size: 826 Bytes

Versions: 2

Compression:

Stored size: 826 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 `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 `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.9.1 features/global-config.feature
chemistrykit-3.9.0 features/global-config.feature