Sha256: 3a31071aa468b9109842da82c3a581371db2fe2faaf50123700b4f26f8564fe0

Contents?: true

Size: 942 Bytes

Versions: 2

Compression:

Stored size: 942 Bytes

Contents

Feature: Exit Status

  Background:
    Given I run `bundle exec ckit new cheese`
    And I cd to "cheese"
    And a file named "config.yaml" with:
      """
      selenium_connect:
          host: 'localhost'
      """

  Scenario: Passing
    And a file named "beakers/test_beaker.rb" with:
    """
    describe "Cheese", :depth => 'shallow' do
      it "loads an external web page" do
        @driver.get "http://www.google.com"
        @driver.title.should include("Google")
      end
    end
    """
    When I run `bundle exec ckit brew`
    Then the exit code should be 0

  Scenario: Failing
    And a file named "beakers/test_beaker.rb" with:
    """
    describe "Cheese", :depth => 'shallow' do
      it "loads an external web page" do
        @driver.get "http://www.google.com"
        @driver.title.should_not include("Google")
      end
    end
    """
    When I run `bundle exec ckit brew`
    Then the exit code should be 1

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
chemistrykit-3.10.1 features/exit_status.feature
chemistrykit-3.10.0 features/exit_status.feature