Sha256: 71d243f7557dd511b95f652aed49fe7838de4c0ba037b153b72e6a799e58875a

Contents?: true

Size: 590 Bytes

Versions: 4

Compression:

Stored size: 590 Bytes

Contents

Feature: Nested example groups

  As an RSpec user
  I want to use alternate names for describe
  So that I can better organize my examples

  Scenario Outline: Using context
    Given a file named "context_instead_of_describe_spec.rb" with:
    """
    context "Using context" do
      context "with nested context" do
        it "should do this" do
          true.should be_true
        end
      end
    end
    """
    When I run "rspec context_instead_of_describe_spec.rb -fn"
    Then the stdout should match /^Using context/
    And the stdout should match /^\s+with nested context/

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rspec-core-2.0.0.a5 features/example_groups/describe_aliases.feature
rspec-core-2.0.0.a4 features/example_groups/describe_aliases.feature
rspec-core-2.0.0.a3 features/example_groups/describe_aliases.feature
rspec-core-2.0.0.a2 features/example_groups/describe_aliases.feature