public
Description: Behaviour Driven Development framework for Ruby
Homepage: http://rspec.info
Clone URL: git://github.com/dchelimsky/rspec.git
Click here to lend your support to: rspec and make a donation at www.pledgie.com !
added (pending) failing scenario to before_blocks.story
dchelimsky (author)
Sun Jul 06 05:19:13 -0700 2008
commit  b9f11f51e3476ff9b34995f0adb544b4a80571d3
tree    fc2bc06616890d6f3a82d9d0fb7c9dd0498653d0
parent  bee481078ad706ac8ab951703b20a8f1b924469d
...
1
2
3
 
 
4
5
 
6
7
8
9
10
11
12
 
 
 
 
 
 
 
 
 
 
 
 
13
...
1
2
 
3
4
5
 
6
7
8
9
10
11
 
12
13
14
15
16
17
18
19
20
21
22
23
24
25
0
@@ -1,11 +1,23 @@
0
 Story: before suite
0
   As a developer using rspec
0
-  I want to declare a one-time global set up
0
+  I want to define before blocks in the global configuration
0
+  So that I can define global things globally
0
   
0
-  Scenario: one time set-up
0
+  Scenario: running with ruby
0
   
0
     Given the file ../resources/spec/before_blocks_example.rb
0
     
0
     When I run it with the ruby interpreter
0
 
0
-    Then the stdout should match "3 examples, 0 failures"
0
\ No newline at end of file
0
+    Then the stdout should match "3 examples, 0 failures"
0
+    
0
+  Scenario: running with spec
0
+
0
+    Given this scenario fails because before(:suite) doesn't get run with the spec command
0
+
0
+    Given the file ../resources/spec/before_blocks_example.rb
0
+
0
+    When I run it with the spec script
0
+
0
+    Then the stdout should match "3 examples, 0 failures"
0
+          
0
\ No newline at end of file

Comments