Sha256: 4fac284e0d30fe60ebc9d357b6cfd4fada6190cfc8e81170d380b4fd77d125a0

Contents?: true

Size: 565 Bytes

Versions: 32

Compression:

Stored size: 565 Bytes

Contents

Feature: Spec and test together

  As an RSpec user
  I want to run one example identified by the line number
  
  Background:
    Given a file named "example.rb" with:
      """
      describe 9 do

        it { should be > 8 }

        it { should be < 10 }
        
      end
      """

  Scenario: two examples - first example on declaration line
    When I run "spec example.rb:3 --format nested"
    Then the stdout should include "1 example, 0 failures"
    Then the stdout should include "should be > 8"
    But the stdout should not match "should be < 10"

Version data entries

32 entries across 32 versions & 11 rubygems

Version Path
rspec-instructure-1.3.3 features/command_line/line_number_option_with_example_with_no_name.feature
radiant-1.0.0 ruby-debug/ruby/1.8/gems/rspec-1.3.2/features/command_line/line_number_option_with_example_with_no_name.feature
rspec-1.3.2 features/command_line/line_number_option_with_example_with_no_name.feature
rspec-1.3.1 features/command_line/line_number_option_with_example_with_no_name.feature
rspec-1.3.1.rc features/command_line/line_number_option_with_example_with_no_name.feature
rspec-1.3.0 features/command_line/line_number_option_with_example_with_no_name.feature
hubbub-0.0.11 lib/vendor/plugins/rspec/features/command_line/line_number_option_with_example_with_no_name.feature
hubbub-0.0.10 lib/vendor/plugins/rspec/features/command_line/line_number_option_with_example_with_no_name.feature
hubbub-0.0.9 lib/vendor/plugins/rspec/features/command_line/line_number_option_with_example_with_no_name.feature
hubbub-0.0.8 lib/vendor/plugins/rspec/features/command_line/line_number_option_with_example_with_no_name.feature
hubbub-0.0.6 lib/vendor/plugins/rspec/features/command_line/line_number_option_with_example_with_no_name.feature
simple-templater-0.0.1.4 gems/gems/rspec-1.2.9/features/command_line/line_number_option_with_example_with_no_name.feature
media-path-0.1.2 vendor/rspec/features/command_line/line_number_option_with_example_with_no_name.feature
simple-templater-0.0.1.3 vendor/rspec/features/command_line/line_number_option_with_example_with_no_name.feature
pupu-0.0.2.pre vendor/rspec/features/command_line/line_number_option_with_example_with_no_name.feature
media-path-0.1.1.pre vendor/rspec/features/command_line/line_number_option_with_example_with_no_name.feature
simple-templater-0.0.1.2 vendor/rspec/features/command_line/line_number_option_with_example_with_no_name.feature
media-path-0.1.1 vendor/rspec/features/command_line/line_number_option_with_example_with_no_name.feature
simple-templater-0.0.1.1 vendor/rspec/features/command_line/line_number_option_with_example_with_no_name.feature
pupu-0.0.2 vendor/rspec/features/command_line/line_number_option_with_example_with_no_name.feature