Sha256: 20e7cd4a9911825545dcce565ace351f8563d6ed38a09eba8ad7a6a0ee24659d

Contents?: true

Size: 904 Bytes

Versions: 4

Compression:

Stored size: 904 Bytes

Contents

Story: autogenerated docstrings

  As an RSpec user
  I want examples to generate their own names
  So that I can reduce duplication between example names and example code

  Scenario: run with ruby
    Given the file ../../examples/pure/autogenerated_docstrings_example.rb

    When I run it with the ruby interpreter -fs

    Then the stdout should match /should equal 5/
    And the stdout should match /should be < 5/
    And the stdout should match /should include "a"/
    And the stdout should match /should respond to #size/

    Scenario: run with spec
      Given the file ../../examples/pure/autogenerated_docstrings_example.rb

      When I run it with the spec script -fs

      Then the stdout should match /should equal 5/
      And the stdout should match /should be < 5/
      And the stdout should match /should include "a"/
      And the stdout should match /should respond to #size/

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
rspec-1.1.0 stories/example_groups/autogenerated_docstrings
rspec-1.1.1 stories/example_groups/autogenerated_docstrings
typo-5.0.1 vendor/plugins/rspec/stories/example_groups/autogenerated_docstrings
typo-5.0.2 vendor/plugins/rspec/stories/example_groups/autogenerated_docstrings