Sha256: a2295d3f43afbdc74e9ee7ee4e59a2097c8ace3d21bd4ad08d227e951e805bef

Contents?: true

Size: 582 Bytes

Versions: 1

Compression:

Stored size: 582 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: 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

1 entries across 1 versions & 1 rubygems

Version Path
rspec-core-2.0.0.a6 features/example_groups/describe_aliases.feature