Sha256: cfe97aa2c0cfc9511e491a92ceced628560dd5023970966542ecd64fc8cb7ae8

Contents?: true

Size: 602 Bytes

Versions: 7

Compression:

Stored size: 602 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:
    """
    require "rspec/expectations"

    describe "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 I should see:
      """
      Using context
        with nested context
      """

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rspec-core-2.0.0.beta.15 features/example_groups/describe_aliases.feature
rspec-core-2.0.0.beta.14 features/example_groups/describe_aliases.feature
rspec-core-2.0.0.beta.13 features/example_groups/describe_aliases.feature
rspec-core-2.0.0.beta.12 features/example_groups/describe_aliases.feature
rspec-core-2.0.0.beta.11 features/example_groups/describe_aliases.feature
rspec-core-2.0.0.beta.10 features/example_groups/describe_aliases.feature
rspec-core-2.0.0.beta.9 features/example_groups/describe_aliases.feature