Sha256: 068c230bd4db1cb3863ce3ee5885054cd758699f427b085712b09634b9e58ec1
Contents?: true
Size: 749 Bytes
Versions: 5
Compression:
Stored size: 749 Bytes
Contents
Feature: Nested example groups As an RSpec user I want to nest examples groups So that I can better organize my examples Scenario: Nested example groups Given a file named "nested_example_groups.rb" with: """ describe "Some Object" do describe "with some more context" do it "should do this" do true.should be_true end end describe "with some other context" do it "should do that" do false.should be_false end end end """ When I run "rspec ./nested_example_groups.rb -fdoc" Then I should see matching /^Some Object/ And I should see matching /^\s+with some more context/ And I should see matching /^\s+with some other context/
Version data entries
5 entries across 5 versions & 1 rubygems