Sha256: cd9633d8c11799043835bf517ddef4b240848cd73fc0e004ee375d44f46ceafb

Contents?: true

Size: 615 Bytes

Versions: 6

Compression:

Stored size: 615 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 the output should contain:
      """
      Using context
        with nested context
      """

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rspec-core-2.0.0.beta.22 features/example_groups/describe_aliases.feature
rspec-core-2.0.0.beta.20 features/example_groups/describe_aliases.feature
rspec-core-2.0.0.beta.19 features/example_groups/describe_aliases.feature
rspec-core-2.0.0.beta.18 features/example_groups/describe_aliases.feature
rspec-core-2.0.0.beta.17 features/example_groups/describe_aliases.feature
rspec-core-2.0.0.beta.16 features/example_groups/describe_aliases.feature