changelog shortlog tags changeset manifest revisions annotate raw

vendor/plugins/rspec/stories/example_groups/example_group_with_should_methods

changeset 15: 64acf98d15f4
author: moriq@moriq.com
date: Mon Mar 10 10:12:58 2008 +0900 (16 years ago)
permissions: -rw-r--r--
description: add plugins rspec
1Story: Spec::ExampleGroup with should methods
2
3 As an RSpec adopter accustomed to classes and methods
4 I want to use should_* methods in an ExampleGroup
5 So that I use RSpec with classes and methods that look more like RSpec examples
6
7 Scenario: Run with ruby
8 Given the file spec/example_group_with_should_methods.rb
9 When I run it with the ruby interpreter
10 Then the exit code should be 256
11 And the stdout should match "2 examples, 1 failure"
12
13 Scenario: Run with spec
14 Given the file spec/example_group_with_should_methods.rb
15 When I run it with the spec script
16 Then the exit code should be 256
17 And the stdout should match "2 examples, 1 failure"