Sha256: e611250816f1c9daae186a3aba75d24c8385ff749844297dc9ed54d0daca4dc8

Contents?: true

Size: 612 Bytes

Versions: 3

Compression:

Stored size: 612 Bytes

Contents

Feature: Pending exit code

  The exit code should always be zero when there were pending tests

  Background:
    Given a fixture application
    And a file named "spec/ui/ui_component_spec.rb" with:
      """ruby
      require 'simulacrum_helper'

      describe 'UI Component' do
        component :ui_component do |options|
          options.url = '/ui_component.html'
        end
        it { should look_the_same }
      end
      """

  Scenario: There is a pending test
    When I run `simulacrum`
    Then the exit status should be 0
    And the output should contain "1 example, 0 failures, 1 pending"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
simulacrum-0.3.2 features/exit_codes/pending.feature
simulacrum-0.3.1 features/exit_codes/pending.feature
simulacrum-0.3.0 features/exit_codes/pending.feature