rspec 1.1.4 → 1.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (157) hide show
  1. data/{CHANGES → History.txt} +116 -64
  2. data/Manifest.txt +403 -0
  3. data/{MIT-LICENSE → README.txt} +43 -0
  4. data/Rakefile +39 -212
  5. data/{TODO → TODO.txt} +0 -0
  6. data/bin/autospec +4 -0
  7. data/bin/spec +1 -1
  8. data/examples/pure/yielding_example.rb +33 -0
  9. data/examples/stories/game-of-life/.loadpath +5 -0
  10. data/examples/stories/game-of-life/behaviour/everything.rb +1 -1
  11. data/examples/stories/game-of-life/behaviour/stories/CellsWithMoreThanThreeNeighboursDie.story +17 -17
  12. data/init.rb +9 -0
  13. data/lib/autotest/discover.rb +1 -1
  14. data/lib/autotest/rspec.rb +3 -29
  15. data/lib/spec.rb +10 -12
  16. data/lib/spec/adapters.rb +1 -0
  17. data/lib/spec/adapters/ruby_engine.rb +26 -0
  18. data/lib/spec/adapters/ruby_engine/mri.rb +8 -0
  19. data/lib/spec/adapters/ruby_engine/rubinius.rb +8 -0
  20. data/lib/spec/example/errors.rb +6 -0
  21. data/lib/spec/example/example_group_methods.rb +17 -14
  22. data/lib/spec/example/example_matcher.rb +2 -0
  23. data/lib/spec/example/example_methods.rb +4 -9
  24. data/lib/spec/example/module_inclusion_warnings.rb +2 -1
  25. data/lib/spec/expectations/extensions/object.rb +2 -2
  26. data/lib/spec/expectations/handler.rb +8 -16
  27. data/lib/spec/extensions/main.rb +2 -17
  28. data/lib/spec/matchers.rb +8 -2
  29. data/lib/spec/matchers/be.rb +0 -3
  30. data/lib/spec/matchers/change.rb +44 -40
  31. data/lib/spec/matchers/has.rb +1 -1
  32. data/lib/spec/matchers/have.rb +17 -12
  33. data/lib/spec/matchers/operator_matcher.rb +10 -4
  34. data/lib/spec/matchers/simple_matcher.rb +113 -10
  35. data/lib/spec/mocks.rb +1 -1
  36. data/lib/spec/mocks/argument_constraints.rb +185 -0
  37. data/lib/spec/mocks/argument_expectation.rb +35 -173
  38. data/lib/spec/mocks/framework.rb +1 -1
  39. data/lib/spec/mocks/message_expectation.rb +30 -5
  40. data/lib/spec/mocks/methods.rb +14 -2
  41. data/lib/spec/mocks/mock.rb +4 -0
  42. data/lib/spec/mocks/proxy.rb +46 -5
  43. data/lib/spec/mocks/spec_methods.rb +9 -1
  44. data/lib/spec/rake/spectask.rb +14 -22
  45. data/lib/spec/rake/verify_rcov.rb +3 -3
  46. data/lib/spec/runner.rb +18 -6
  47. data/lib/spec/runner/backtrace_tweaker.rb +6 -7
  48. data/lib/spec/runner/command_line.rb +6 -17
  49. data/lib/spec/runner/drb_command_line.rb +1 -1
  50. data/lib/spec/runner/formatter/base_formatter.rb +3 -1
  51. data/lib/spec/runner/formatter/base_text_formatter.rb +5 -9
  52. data/lib/spec/runner/formatter/html_formatter.rb +1 -1
  53. data/lib/spec/runner/formatter/nested_text_formatter.rb +1 -1
  54. data/lib/spec/runner/formatter/progress_bar_formatter.rb +2 -2
  55. data/lib/spec/runner/formatter/specdoc_formatter.rb +1 -1
  56. data/lib/spec/runner/formatter/story/html_formatter.rb +62 -16
  57. data/lib/spec/runner/formatter/story/plain_text_formatter.rb +68 -16
  58. data/lib/spec/runner/formatter/story/progress_bar_formatter.rb +42 -0
  59. data/lib/spec/runner/heckle_runner.rb +2 -2
  60. data/lib/spec/runner/option_parser.rb +2 -1
  61. data/lib/spec/runner/options.rb +18 -9
  62. data/lib/spec/runner/reporter.rb +24 -4
  63. data/lib/spec/runner/spec_parser.rb +1 -1
  64. data/lib/spec/story/runner.rb +1 -2
  65. data/lib/spec/story/runner/story_mediator.rb +14 -0
  66. data/lib/spec/story/runner/story_parser.rb +20 -0
  67. data/lib/spec/story/step.rb +40 -28
  68. data/lib/spec/story/step_mother.rb +2 -1
  69. data/lib/spec/story/world.rb +6 -2
  70. data/lib/spec/version.rb +13 -22
  71. data/rake_tasks/failing_examples_with_html.rake +1 -1
  72. data/rake_tasks/verify_rcov.rake +2 -2
  73. data/rspec.gemspec +33 -0
  74. data/spec/autotest/rspec_spec.rb +90 -141
  75. data/spec/spec/adapters/ruby_engine_spec.rb +16 -0
  76. data/spec/spec/example/base_formatter_spec.rb +112 -0
  77. data/spec/spec/example/example_group_factory_spec.rb +2 -2
  78. data/spec/spec/example/example_group_methods_spec.rb +55 -4
  79. data/spec/spec/example/example_group_spec.rb +4 -3
  80. data/spec/spec/example/example_methods_spec.rb +18 -14
  81. data/spec/spec/example/pending_module_spec.rb +38 -0
  82. data/spec/spec/example/shared_example_group_spec.rb +1 -1
  83. data/spec/spec/expectations/extensions/object_spec.rb +0 -12
  84. data/spec/spec/extensions/main_spec.rb +3 -8
  85. data/spec/spec/matchers/change_spec.rb +16 -6
  86. data/spec/spec/matchers/handler_spec.rb +58 -37
  87. data/spec/spec/matchers/has_spec.rb +10 -0
  88. data/spec/spec/matchers/have_spec.rb +105 -2
  89. data/spec/spec/matchers/operator_matcher_spec.rb +35 -2
  90. data/spec/spec/matchers/simple_matcher_spec.rb +64 -2
  91. data/spec/spec/mocks/any_number_of_times_spec.rb +7 -0
  92. data/spec/spec/mocks/bug_report_496.rb +17 -0
  93. data/spec/spec/mocks/failing_mock_argument_constraints_spec.rb +7 -1
  94. data/spec/spec/mocks/hash_including_matcher_spec.rb +45 -24
  95. data/spec/spec/mocks/mock_spec.rb +55 -10
  96. data/spec/spec/mocks/nil_expectation_warning_spec.rb +54 -0
  97. data/spec/spec/mocks/null_object_mock_spec.rb +14 -0
  98. data/spec/spec/mocks/options_hash_spec.rb +18 -28
  99. data/spec/spec/mocks/partial_mock_spec.rb +2 -0
  100. data/spec/spec/mocks/passing_mock_argument_constraints_spec.rb +20 -6
  101. data/spec/spec/mocks/stub_spec.rb +7 -0
  102. data/spec/spec/runner/command_line_spec.rb +5 -12
  103. data/spec/spec/runner/drb_command_line_spec.rb +13 -6
  104. data/spec/spec/runner/formatter/html_formatter_spec.rb +2 -1
  105. data/spec/spec/runner/formatter/nested_text_formatter_spec.rb +3 -3
  106. data/spec/spec/runner/formatter/progress_bar_formatter_spec.rb +20 -2
  107. data/spec/spec/runner/formatter/spec_mate_formatter_spec.rb +2 -1
  108. data/spec/spec/runner/formatter/specdoc_formatter_spec.rb +3 -3
  109. data/spec/spec/runner/formatter/story/html_formatter_spec.rb +76 -2
  110. data/spec/spec/runner/formatter/story/plain_text_formatter_spec.rb +161 -0
  111. data/spec/spec/runner/formatter/story/progress_bar_formatter_spec.rb +82 -0
  112. data/spec/spec/runner/heckle_runner_spec.rb +8 -8
  113. data/spec/spec/runner/option_parser_spec.rb +21 -6
  114. data/spec/spec/runner/output_one_time_fixture_runner.rb +1 -1
  115. data/spec/spec/runner/quiet_backtrace_tweaker_spec.rb +6 -0
  116. data/spec/spec/runner/reporter_spec.rb +51 -5
  117. data/spec/spec/runner/spec_parser_spec.rb +4 -4
  118. data/spec/spec/story/runner/plain_text_story_runner_spec.rb +2 -5
  119. data/spec/spec/story/runner/story_mediator_spec.rb +10 -0
  120. data/spec/spec/story/runner/story_parser_spec.rb +23 -6
  121. data/spec/spec/story/scenario_spec.rb +1 -3
  122. data/spec/spec/story/step_mother_spec.rb +12 -0
  123. data/spec/spec/story/step_spec.rb +57 -4
  124. data/spec/spec/story/story_spec.rb +1 -3
  125. data/spec/spec/story/world_spec.rb +1 -1
  126. data/spec/spec_helper.rb +21 -68
  127. data/stories/all.rb +1 -1
  128. data/stories/configuration/before_blocks.story +21 -0
  129. data/stories/configuration/stories.rb +7 -0
  130. data/stories/example_groups/stories.rb +3 -4
  131. data/stories/resources/spec/before_blocks_example.rb +32 -0
  132. data/stories/stories/multiline_steps.story +23 -0
  133. data/stories/stories/steps/multiline_steps.rb +13 -0
  134. data/stories/stories/stories.rb +6 -0
  135. data/story_server/prototype/javascripts/builder.js +136 -0
  136. data/story_server/prototype/javascripts/controls.js +972 -0
  137. data/story_server/prototype/javascripts/dragdrop.js +976 -0
  138. data/story_server/prototype/javascripts/effects.js +1117 -0
  139. data/story_server/prototype/javascripts/prototype.js +4140 -0
  140. data/story_server/prototype/javascripts/rspec.js +149 -0
  141. data/story_server/prototype/javascripts/scriptaculous.js +58 -0
  142. data/story_server/prototype/javascripts/slider.js +276 -0
  143. data/story_server/prototype/javascripts/sound.js +55 -0
  144. data/story_server/prototype/javascripts/unittest.js +568 -0
  145. data/story_server/prototype/lib/server.rb +24 -0
  146. data/story_server/prototype/stories.html +176 -0
  147. data/story_server/prototype/stylesheets/rspec.css +136 -0
  148. data/story_server/prototype/stylesheets/test.css +90 -0
  149. metadata +166 -166
  150. data/README +0 -36
  151. data/UPGRADE +0 -7
  152. data/bin/spec_translator +0 -8
  153. data/lib/spec/mocks/argument_constraint_matchers.rb +0 -31
  154. data/lib/spec/translator.rb +0 -114
  155. data/spec/spec/example/example_spec.rb +0 -53
  156. data/spec/spec/runner/execution_context_spec.rb +0 -37
  157. data/spec/spec/translator_spec.rb +0 -265
@@ -0,0 +1,24 @@
1
+ require 'webrick'
2
+
3
+ class DispatchServlet < WEBrick::HTTPServlet::AbstractServlet
4
+ def do_POST(request, response)
5
+ File.open('story', 'w') do |io|
6
+ io.write(request.body)
7
+ end
8
+
9
+ response.status = 200
10
+ response['Content-Type'] = 'text/html'
11
+ response.body = "body"
12
+ end
13
+ end
14
+
15
+ params = { :Port => 4000,
16
+ :ServerType => WEBrick::SimpleServer,
17
+ :BindAddress => "0.0.0.0",
18
+ :MimeTypes => WEBrick::HTTPUtils::DefaultMimeTypes }
19
+ server = WEBrick::HTTPServer.new(params)
20
+ server.mount('/stories', DispatchServlet)
21
+ server.mount('/', WEBrick::HTTPServlet::FileHandler, File.dirname(__FILE__) + '/..', { :FancyIndexing => true })
22
+
23
+ trap("INT") { server.shutdown }
24
+ server.start
@@ -0,0 +1,176 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
5
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
+ <head>
7
+ <title>Stories</title>
8
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
+ <meta http-equiv="Expires" content="-1" />
10
+ <meta http-equiv="Pragma" content="no-cache" />
11
+ <script src="javascripts/prototype.js" type="text/javascript"></script>
12
+ <script src="javascripts/scriptaculous.js" type="text/javascript"></script>
13
+ <script src="javascripts/rspec.js" type="text/javascript"></script>
14
+ <script src="javascripts/unittest.js" type="text/javascript"></script>
15
+
16
+ <link href="stylesheets/rspec.css" rel="stylesheet" type="text/css" />
17
+ <link href="stylesheets/test.css" rel="stylesheet" type="text/css" />
18
+ </head>
19
+ <body>
20
+ <!--
21
+ Classes and ids that are only used by the Story UI, which don't have to be present in
22
+ the Example report:
23
+
24
+ #nav
25
+ #stock_steps
26
+ dl.story
27
+ ul.steps
28
+ -->
29
+ <div id="nav">
30
+ <a href="#" onclick="javascript:StoryDom.save();">SAVE</a>
31
+ </div>
32
+ <div id="container">
33
+ <ul id="stock_steps" style="display: none;">
34
+ <li>Given my savings account balance is $balance dollars</li>
35
+ <li>Given my cash account balance is $balance dollars</li>
36
+ <li>Given my $which account has been blocked for $n days</li>
37
+ <li>When I transfer $amount dollars</li>
38
+ <li>Then my savings account balance should be $balance dollars</li>
39
+ <li>Then my cash account balance should be $balance dollars</li>
40
+ </ul>
41
+ <dl class="story failed">
42
+ <dt>transfer to cash account</dt>
43
+ <dd>
44
+ <p>
45
+ As a savings account holder<br />
46
+ I want to transfer money from my savings account<br />
47
+ So that I can get cash easily from an ATM<br />
48
+ </p>
49
+ <dl class="passed">
50
+ <dt>savings account is in credit</dt>
51
+ <dd>
52
+ <ul class="steps">
53
+ <li class="passed">Given my savings account balance is <span class="param">100</span> dollars</li>
54
+ <li class="passed">Given my cash account balance is <span class="param">10</span> dollars</li>
55
+ <li class="passed">When I transfer <span class="param">20</span> dollars</li>
56
+ <li class="passed">Then my savings account balance should be <span class="param">80</span> dollars</li>
57
+ <li class="passed">Then my cash account balance should be <span class="param">30</span> dollars</li>
58
+ </ul>
59
+ </dd>
60
+ </dl>
61
+
62
+ <dl class="failed">
63
+ <dt>savings account is overdrawn</dt>
64
+ <dd>
65
+ <ul class="steps">
66
+ <li class="passed">Given my savings account balance is <span class="param">-20</span> dollars</li>
67
+ <li class="passed">Given my cash account balance is <span class="param">10</span> dollars</li>
68
+ <li class="passed">When I transfer <span class="param">20</span> dollars</li>
69
+ <li class="failed">Then my savings account balance should be <span class="param">-20</span> dollars</li>
70
+ <li class="failed">Then my cash account balance should be <span class="param">10</span> dollars</li>
71
+ <li class="pending">Then I should still be poor</li>
72
+ </ul>
73
+ </dd>
74
+ </dl>
75
+ </dd>
76
+ </dl>
77
+ <!-- More stories here... -->
78
+
79
+ <!-- Tests follow -->
80
+ <div id="testlog"> </div>
81
+ <script type="text/javascript" language="javascript" charset="utf-8">
82
+ // <![CDATA[
83
+ Test.context("RSpec editor tests (this won't be in the final editor - it's just self tests)",{
84
+ 'should extract story narrative': function() {
85
+ var narrative = StoryDom.narrativeText($$('p')[0].innerHTML);
86
+ narrative.shouldEqual(
87
+ " As a savings account holder\n" +
88
+ " I want to transfer money from my savings account\n" +
89
+ " So that I can get cash easily from an ATM\n"
90
+ );
91
+ },
92
+
93
+ 'should extract step text with two spans': function() {
94
+ var stepText = StoryDom.stepText('Given <span class="param">this</span> and <span class="param">that</span> stuff');
95
+ stepText.shouldEqual("Given this and that stuff");
96
+ },
97
+
98
+ 'should extract scenario': function() {
99
+ var scenario = StoryDom.scenario($$('dl')[1]);
100
+ scenario.shouldEqual(
101
+ " Scenario: savings account is in credit\n" +
102
+ " Given my savings account balance is 100 dollars\n" +
103
+ " Given my cash account balance is 10 dollars\n" +
104
+ " When I transfer 20 dollars\n" +
105
+ " Then my savings account balance should be 80 dollars\n" +
106
+ " Then my cash account balance should be 30 dollars\n"
107
+ );
108
+ },
109
+
110
+ 'should extract story from page': function() {
111
+ var story = StoryDom.story();
112
+ story.shouldEqual(
113
+ "Story: transfer to cash account\n" +
114
+ "\n" +
115
+ " As a savings account holder\n" +
116
+ " I want to transfer money from my savings account\n" +
117
+ " So that I can get cash easily from an ATM\n" +
118
+ "\n" +
119
+ " Scenario: savings account is in credit\n" +
120
+ " Given my savings account balance is 100 dollars\n" +
121
+ " Given my cash account balance is 10 dollars\n" +
122
+ " When I transfer 20 dollars\n" +
123
+ " Then my savings account balance should be 80 dollars\n" +
124
+ " Then my cash account balance should be 30 dollars\n" +
125
+ "\n" +
126
+ " Scenario: savings account is overdrawn\n" +
127
+ " Given my savings account balance is -20 dollars\n" +
128
+ " Given my cash account balance is 10 dollars\n" +
129
+ " When I transfer 20 dollars\n" +
130
+ " Then my savings account balance should be -20 dollars\n" +
131
+ " Then my cash account balance should be 10 dollars\n" +
132
+ " Then I should still be poor\n"
133
+ );
134
+ },
135
+
136
+ 'should extract stock steps from dom': function() {
137
+ var stockSteps = RSpec.stockSteps();
138
+ stockSteps.shouldEqualEnum([
139
+ 'Given my $which account has been blocked for $n days',
140
+ 'Given my cash account balance is $balance dollars',
141
+ 'Given my savings account balance is $balance dollars',
142
+ 'Then my cash account balance should be $balance dollars',
143
+ 'Then my savings account balance should be $balance dollars',
144
+ 'When I transfer $amount dollars'
145
+ ]);
146
+ },
147
+
148
+ 'should add new stock steps unless they already exist': function() {
149
+ RSpec.addStockStep('When Godzilla chews over a cable');
150
+ RSpec.stockSteps().shouldEqualEnum([
151
+ 'Given my $which account has been blocked for $n days',
152
+ 'Given my cash account balance is $balance dollars',
153
+ 'Given my savings account balance is $balance dollars',
154
+ 'Then my cash account balance should be $balance dollars',
155
+ 'Then my savings account balance should be $balance dollars',
156
+ 'When Godzilla chews over a cable',
157
+ 'When I transfer $amount dollars'
158
+ ]);
159
+ RSpec.addStockStep('When Godzilla chews over a cable');
160
+ RSpec.stockSteps().shouldEqualEnum([
161
+ 'Given my $which account has been blocked for $n days',
162
+ 'Given my cash account balance is $balance dollars',
163
+ 'Given my savings account balance is $balance dollars',
164
+ 'Then my cash account balance should be $balance dollars',
165
+ 'Then my savings account balance should be $balance dollars',
166
+ 'When Godzilla chews over a cable',
167
+ 'When I transfer $amount dollars'
168
+ ]);
169
+ }
170
+ });
171
+ // ]]>
172
+ </script>
173
+
174
+ </div>
175
+ </body>
176
+ </html>
@@ -0,0 +1,136 @@
1
+ body {
2
+ background: #fff;
3
+ font-size: 80%;
4
+ margin:0pt;
5
+ padding:0pt;
6
+ }
7
+
8
+ #nav {
9
+ border-bottom:1px solid #222222;
10
+ border-top-style:solid;
11
+ border-top-width:0.5em;
12
+ font-family:Helvetica,Arial,sans-serif;
13
+ font-size:1.1em;
14
+ padding:0.2em 0pt;
15
+ position:fixed;
16
+ text-align:center;
17
+ width:100%;
18
+ z-index:50;
19
+
20
+ background-color: #000000;
21
+ opacity: 0.6;
22
+ }
23
+
24
+ #container {
25
+ background:white none repeat scroll 0%;
26
+ font-family:Helvetica,Arial,sans-serif;
27
+ margin:0pt auto;
28
+ position:relative;
29
+ text-align:left;
30
+ top:4.0em;
31
+ width:78em;
32
+ }
33
+
34
+ dl {
35
+ font: normal 11px "Lucida Grande", Helvetica, sans-serif;
36
+ }
37
+
38
+ dt {
39
+ color: #fff;
40
+ }
41
+
42
+ dl.passed {
43
+ border-left: 5px solid #65C400;
44
+ }
45
+
46
+ dl.failed {
47
+ border-left: 5px solid #C20000;
48
+ }
49
+
50
+ dt {
51
+ padding: 3px;
52
+ font-weight: bold;
53
+ }
54
+
55
+ dd {
56
+ margin: 0px 0px 0px 0px;
57
+ }
58
+
59
+ dd p {
60
+ padding: 5px;
61
+ margin-top: 0;
62
+ margin-bottom: 5px;
63
+ }
64
+
65
+ dd > dl {
66
+ margin-left: 5px;
67
+ }
68
+
69
+ dl.passed > dt {
70
+ background: #65C400;
71
+ }
72
+
73
+ dl.failed > dt {
74
+ background: #C20000;
75
+ }
76
+
77
+ dl.passed > dd > p, li.passed {
78
+ background: #DBFFB4; color: #3D7700;
79
+ border-bottom: 1px solid #65C400;
80
+ }
81
+
82
+ dl.failed > dd > p, li.failed {
83
+ color: #C20000; background: #FFFBD3;
84
+ border-bottom: 1px solid #C20000;
85
+ }
86
+
87
+ dl.pending > dd > p, li.pending {
88
+ color: #131313; background: #FCFB98;
89
+ border-bottom: 1px solid #FAF834;
90
+ }
91
+
92
+ dl.new > dd > p, li.new {
93
+ color: #444444; background: #DDDDDD;
94
+ border-bottom: 1px solid #444444;
95
+ }
96
+
97
+ dl > dd > p.wastebin {
98
+ background-color: black;
99
+ }
100
+
101
+ span.param, span.param_editor {
102
+ font-weight: bold;
103
+ }
104
+
105
+ input {
106
+ width: 100%;
107
+ }
108
+
109
+ ul.steps {
110
+ padding: 0px;
111
+ list-style: none;
112
+ }
113
+
114
+ ul.steps > li {
115
+ margin: 5px 0px 5px 5px;
116
+ padding: 3px 3px 3px 5px;
117
+ }
118
+
119
+ div.auto_complete ul {
120
+ list-style-type: none;
121
+ border: 2px solid #F0F0F0;
122
+ margin: 0px;
123
+ padding: 0px;
124
+ }
125
+
126
+ div.auto_complete ul li {
127
+ background-color: white;
128
+ list-style-type: none;
129
+ display: block;
130
+ margin: 0;
131
+ padding: 2px;
132
+ }
133
+
134
+ div.auto_complete ul li.selected {
135
+ color: #444444; background: #DDDDDD;
136
+ }
@@ -0,0 +1,90 @@
1
+ body, div, p, h1, h2, h3, ul, ol, span, a, table, td, form, img, li {
2
+ font-family: sans-serif;
3
+ }
4
+
5
+ body {
6
+ font-size:0.8em;
7
+ }
8
+
9
+ .navigation {
10
+ background: #9DC569;
11
+ color: #fff;
12
+ }
13
+
14
+ .navigation h1 {
15
+ font-size: 20px;
16
+ }
17
+
18
+ .navigation h2 {
19
+ font-size: 16px;
20
+ font-weight: normal;
21
+ margin: 0;
22
+ border: 1px solid #e8a400;
23
+ border-bottom: 0;
24
+ background: #ffc;
25
+ color: #E8A400;
26
+ padding: 8px;
27
+ padding-bottom: 0;
28
+ }
29
+
30
+ .navigation ul {
31
+ margin-top: 0;
32
+ border: 1px solid #E8A400;
33
+ border-top: none;
34
+ background: #ffc;
35
+ padding: 8px;
36
+ margin-left: 0;
37
+ }
38
+
39
+ .navigation ul li {
40
+ font-size: 12px;
41
+ list-style-type: none;
42
+ margin-top: 1px;
43
+ margin-bottom: 1px;
44
+ color: #555;
45
+ }
46
+
47
+ .navigation a {
48
+ color: #ffc;
49
+ }
50
+
51
+ .navigation ul li a {
52
+ color: #000;
53
+ }
54
+
55
+ #log {
56
+ padding-bottom: 1em;
57
+ border-bottom: 2px solid #000;
58
+ margin-bottom: 2em;
59
+ }
60
+
61
+ #logsummary {
62
+ margin-bottom: 1em;
63
+ padding: 1ex;
64
+ border: 1px solid #000;
65
+ font-weight: bold;
66
+ }
67
+
68
+ #logtable {
69
+ width:100%;
70
+ border-collapse: collapse;
71
+ border: 1px dotted #666;
72
+ }
73
+
74
+ #logtable td, #logtable th {
75
+ text-align: left;
76
+ padding: 3px 8px;
77
+ border: 1px dotted #666;
78
+ }
79
+
80
+ #logtable .passed {
81
+ background-color: #cfc;
82
+ }
83
+
84
+ #logtable .failed, #logtable .error {
85
+ background-color: #fcc;
86
+ }
87
+
88
+ #logtable .nameCell {
89
+ cursor: pointer;
90
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - RSpec Development Team
@@ -9,32 +9,127 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-05-26 00:00:00 -05:00
13
- default_executable: spec
14
- dependencies: []
15
-
16
- description: "RSpec is a behaviour driven development (BDD) framework for Ruby. RSpec was created in response to Dave Astels' article _A New Look at Test Driven Development_ which can be read at: http://daveastels.com/index.php?p=5 RSpec is intended to provide the features discussed in Dave's article."
17
- email: rspec-devel@rubyforge.org
12
+ date: 2008-09-28 00:00:00 -05:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: hoe
17
+ type: :development
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 1.7.0
24
+ version:
25
+ description: Behaviour Driven Development for Ruby.
26
+ email:
27
+ - rspec-devel@rubyforge.org
18
28
  executables:
29
+ - autospec
19
30
  - spec
20
- - spec_translator
21
31
  extensions: []
22
32
 
23
33
  extra_rdoc_files:
24
- - README
25
- - CHANGES
26
- - MIT-LICENSE
27
- - UPGRADE
34
+ - History.txt
35
+ - Manifest.txt
36
+ - README.txt
37
+ - TODO.txt
38
+ - examples/pure/priority.txt
39
+ - examples/stories/game-of-life/README.txt
40
+ - examples/stories/game-of-life/behaviour/stories/stories.txt
41
+ - failing_examples/README.txt
42
+ - spec/spec/runner/empty_file.txt
43
+ - spec/spec/runner/examples.txt
44
+ - spec/spec/runner/failed.txt
28
45
  files:
29
- - CHANGES
30
- - MIT-LICENSE
46
+ - History.txt
47
+ - Manifest.txt
48
+ - README.txt
31
49
  - Rakefile
32
- - README
33
- - RSpec.tmbundle
34
- - TODO
35
- - UPGRADE
50
+ - TODO.txt
51
+ - bin/autospec
52
+ - bin/spec
53
+ - examples/pure/autogenerated_docstrings_example.rb
54
+ - examples/pure/before_and_after_example.rb
55
+ - examples/pure/behave_as_example.rb
56
+ - examples/pure/custom_expectation_matchers.rb
57
+ - examples/pure/custom_formatter.rb
58
+ - examples/pure/dynamic_spec.rb
59
+ - examples/pure/file_accessor.rb
60
+ - examples/pure/file_accessor_spec.rb
61
+ - examples/pure/greeter_spec.rb
62
+ - examples/pure/helper_method_example.rb
63
+ - examples/pure/io_processor.rb
64
+ - examples/pure/io_processor_spec.rb
65
+ - examples/pure/legacy_spec.rb
66
+ - examples/pure/mocking_example.rb
67
+ - examples/pure/multi_threaded_behaviour_runner.rb
68
+ - examples/pure/nested_classes_example.rb
69
+ - examples/pure/partial_mock_example.rb
70
+ - examples/pure/pending_example.rb
71
+ - examples/pure/predicate_example.rb
72
+ - examples/pure/priority.txt
73
+ - examples/pure/shared_example_group_example.rb
74
+ - examples/pure/shared_stack_examples.rb
75
+ - examples/pure/spec_helper.rb
76
+ - examples/pure/stack.rb
77
+ - examples/pure/stack_spec.rb
78
+ - examples/pure/stack_spec_with_nested_example_groups.rb
79
+ - examples/pure/stubbing_example.rb
80
+ - examples/pure/yielding_example.rb
81
+ - examples/stories/adder.rb
82
+ - examples/stories/addition
83
+ - examples/stories/addition.rb
84
+ - examples/stories/calculator.rb
85
+ - examples/stories/game-of-life/.loadpath
86
+ - examples/stories/game-of-life/README.txt
87
+ - examples/stories/game-of-life/behaviour/everything.rb
88
+ - examples/stories/game-of-life/behaviour/examples/examples.rb
89
+ - examples/stories/game-of-life/behaviour/examples/game_behaviour.rb
90
+ - examples/stories/game-of-life/behaviour/examples/grid_behaviour.rb
91
+ - examples/stories/game-of-life/behaviour/stories/CellsWithLessThanTwoNeighboursDie.story
92
+ - examples/stories/game-of-life/behaviour/stories/CellsWithMoreThanThreeNeighboursDie.story
93
+ - examples/stories/game-of-life/behaviour/stories/EmptySpacesWithThreeNeighboursCreateACell.story
94
+ - examples/stories/game-of-life/behaviour/stories/ICanCreateACell.story
95
+ - examples/stories/game-of-life/behaviour/stories/ICanKillACell.story
96
+ - examples/stories/game-of-life/behaviour/stories/TheGridWraps.story
97
+ - examples/stories/game-of-life/behaviour/stories/create_a_cell.rb
98
+ - examples/stories/game-of-life/behaviour/stories/helper.rb
99
+ - examples/stories/game-of-life/behaviour/stories/kill_a_cell.rb
100
+ - examples/stories/game-of-life/behaviour/stories/steps.rb
101
+ - examples/stories/game-of-life/behaviour/stories/stories.rb
102
+ - examples/stories/game-of-life/behaviour/stories/stories.txt
103
+ - examples/stories/game-of-life/life.rb
104
+ - examples/stories/game-of-life/life/game.rb
105
+ - examples/stories/game-of-life/life/grid.rb
106
+ - examples/stories/helper.rb
107
+ - examples/stories/steps/addition_steps.rb
108
+ - failing_examples/README.txt
109
+ - failing_examples/diffing_spec.rb
110
+ - failing_examples/failing_autogenerated_docstrings_example.rb
111
+ - failing_examples/failure_in_setup.rb
112
+ - failing_examples/failure_in_teardown.rb
113
+ - failing_examples/mocking_example.rb
114
+ - failing_examples/mocking_with_flexmock.rb
115
+ - failing_examples/mocking_with_mocha.rb
116
+ - failing_examples/mocking_with_rr.rb
117
+ - failing_examples/partial_mock_example.rb
118
+ - failing_examples/predicate_example.rb
119
+ - failing_examples/raising_example.rb
120
+ - failing_examples/spec_helper.rb
121
+ - failing_examples/syntax_error_example.rb
122
+ - failing_examples/team_spec.rb
123
+ - failing_examples/timeout_behaviour.rb
124
+ - init.rb
36
125
  - lib/autotest/discover.rb
37
126
  - lib/autotest/rspec.rb
127
+ - lib/spec.rb
128
+ - lib/spec/adapters.rb
129
+ - lib/spec/adapters/ruby_engine.rb
130
+ - lib/spec/adapters/ruby_engine/mri.rb
131
+ - lib/spec/adapters/ruby_engine/rubinius.rb
132
+ - lib/spec/example.rb
38
133
  - lib/spec/example/configuration.rb
39
134
  - lib/spec/example/errors.rb
40
135
  - lib/spec/example/example_group.rb
@@ -46,25 +141,25 @@ files:
46
141
  - lib/spec/example/module_reopening_fix.rb
47
142
  - lib/spec/example/pending.rb
48
143
  - lib/spec/example/shared_example_group.rb
49
- - lib/spec/example.rb
144
+ - lib/spec/expectations.rb
50
145
  - lib/spec/expectations/differs/default.rb
51
146
  - lib/spec/expectations/errors.rb
147
+ - lib/spec/expectations/extensions.rb
52
148
  - lib/spec/expectations/extensions/object.rb
53
149
  - lib/spec/expectations/extensions/string_and_symbol.rb
54
- - lib/spec/expectations/extensions.rb
55
150
  - lib/spec/expectations/handler.rb
56
- - lib/spec/expectations.rb
151
+ - lib/spec/extensions.rb
57
152
  - lib/spec/extensions/class.rb
58
153
  - lib/spec/extensions/main.rb
59
154
  - lib/spec/extensions/metaclass.rb
60
155
  - lib/spec/extensions/object.rb
61
- - lib/spec/extensions.rb
156
+ - lib/spec/interop/test.rb
62
157
  - lib/spec/interop/test/unit/autorunner.rb
63
158
  - lib/spec/interop/test/unit/testcase.rb
64
159
  - lib/spec/interop/test/unit/testresult.rb
65
160
  - lib/spec/interop/test/unit/testsuite_adapter.rb
66
161
  - lib/spec/interop/test/unit/ui/console/testrunner.rb
67
- - lib/spec/interop/test.rb
162
+ - lib/spec/matchers.rb
68
163
  - lib/spec/matchers/be.rb
69
164
  - lib/spec/matchers/be_close.rb
70
165
  - lib/spec/matchers/change.rb
@@ -81,13 +176,13 @@ files:
81
176
  - lib/spec/matchers/satisfy.rb
82
177
  - lib/spec/matchers/simple_matcher.rb
83
178
  - lib/spec/matchers/throw_symbol.rb
84
- - lib/spec/matchers.rb
85
- - lib/spec/mocks/argument_constraint_matchers.rb
179
+ - lib/spec/mocks.rb
180
+ - lib/spec/mocks/argument_constraints.rb
86
181
  - lib/spec/mocks/argument_expectation.rb
87
182
  - lib/spec/mocks/error_generator.rb
88
183
  - lib/spec/mocks/errors.rb
89
- - lib/spec/mocks/extensions/object.rb
90
184
  - lib/spec/mocks/extensions.rb
185
+ - lib/spec/mocks/extensions/object.rb
91
186
  - lib/spec/mocks/framework.rb
92
187
  - lib/spec/mocks/message_expectation.rb
93
188
  - lib/spec/mocks/methods.rb
@@ -96,9 +191,9 @@ files:
96
191
  - lib/spec/mocks/proxy.rb
97
192
  - lib/spec/mocks/space.rb
98
193
  - lib/spec/mocks/spec_methods.rb
99
- - lib/spec/mocks.rb
100
194
  - lib/spec/rake/spectask.rb
101
195
  - lib/spec/rake/verify_rcov.rb
196
+ - lib/spec/runner.rb
102
197
  - lib/spec/runner/backtrace_tweaker.rb
103
198
  - lib/spec/runner/class_and_arguments_parser.rb
104
199
  - lib/spec/runner/command_line.rb
@@ -116,6 +211,7 @@ files:
116
211
  - lib/spec/runner/formatter/specdoc_formatter.rb
117
212
  - lib/spec/runner/formatter/story/html_formatter.rb
118
213
  - lib/spec/runner/formatter/story/plain_text_formatter.rb
214
+ - lib/spec/runner/formatter/story/progress_bar_formatter.rb
119
215
  - lib/spec/runner/formatter/text_mate_formatter.rb
120
216
  - lib/spec/runner/heckle_runner.rb
121
217
  - lib/spec/runner/heckle_runner_unsupported.rb
@@ -123,41 +219,46 @@ files:
123
219
  - lib/spec/runner/options.rb
124
220
  - lib/spec/runner/reporter.rb
125
221
  - lib/spec/runner/spec_parser.rb
126
- - lib/spec/runner.rb
222
+ - lib/spec/story.rb
223
+ - lib/spec/story/extensions.rb
127
224
  - lib/spec/story/extensions/main.rb
128
225
  - lib/spec/story/extensions/regexp.rb
129
226
  - lib/spec/story/extensions/string.rb
130
- - lib/spec/story/extensions.rb
131
227
  - lib/spec/story/given_scenario.rb
228
+ - lib/spec/story/runner.rb
132
229
  - lib/spec/story/runner/plain_text_story_runner.rb
133
230
  - lib/spec/story/runner/scenario_collector.rb
134
231
  - lib/spec/story/runner/scenario_runner.rb
135
232
  - lib/spec/story/runner/story_mediator.rb
136
233
  - lib/spec/story/runner/story_parser.rb
137
234
  - lib/spec/story/runner/story_runner.rb
138
- - lib/spec/story/runner.rb
139
235
  - lib/spec/story/scenario.rb
140
236
  - lib/spec/story/step.rb
141
237
  - lib/spec/story/step_group.rb
142
238
  - lib/spec/story/step_mother.rb
143
239
  - lib/spec/story/story.rb
144
240
  - lib/spec/story/world.rb
145
- - lib/spec/story.rb
146
- - lib/spec/translator.rb
147
241
  - lib/spec/version.rb
148
- - lib/spec.rb
149
- - spec/autotest
242
+ - plugins/mock_frameworks/flexmock.rb
243
+ - plugins/mock_frameworks/mocha.rb
244
+ - plugins/mock_frameworks/rr.rb
245
+ - plugins/mock_frameworks/rspec.rb
246
+ - rake_tasks/examples.rake
247
+ - rake_tasks/examples_with_rcov.rake
248
+ - rake_tasks/failing_examples_with_html.rake
249
+ - rake_tasks/verify_rcov.rake
250
+ - rspec.gemspec
251
+ - spec/README.jruby
150
252
  - spec/autotest/discover_spec.rb
151
253
  - spec/autotest/rspec_spec.rb
152
254
  - spec/autotest_helper.rb
153
255
  - spec/autotest_matchers.rb
154
- - spec/README.jruby
155
256
  - spec/rspec_suite.rb
156
257
  - spec/ruby_forker.rb
157
- - spec/spec
158
- - spec/spec/example
258
+ - spec/spec.opts
259
+ - spec/spec/adapters/ruby_engine_spec.rb
260
+ - spec/spec/example/base_formatter_spec.rb
159
261
  - spec/spec/example/configuration_spec.rb
160
- - spec/spec/example/example_group
161
262
  - spec/spec/example/example_group/described_module_spec.rb
162
263
  - spec/spec/example/example_group/warning_messages_spec.rb
163
264
  - spec/spec/example/example_group_class_definition_spec.rb
@@ -167,24 +268,15 @@ files:
167
268
  - spec/spec/example/example_matcher_spec.rb
168
269
  - spec/spec/example/example_methods_spec.rb
169
270
  - spec/spec/example/example_runner_spec.rb
170
- - spec/spec/example/example_spec.rb
171
271
  - spec/spec/example/nested_example_group_spec.rb
172
272
  - spec/spec/example/pending_module_spec.rb
173
273
  - spec/spec/example/predicate_matcher_spec.rb
174
274
  - spec/spec/example/shared_example_group_spec.rb
175
275
  - spec/spec/example/subclassing_example_group_spec.rb
176
- - spec/spec/expectations
177
- - spec/spec/expectations/differs
178
276
  - spec/spec/expectations/differs/default_spec.rb
179
- - spec/spec/expectations/extensions
180
277
  - spec/spec/expectations/extensions/object_spec.rb
181
278
  - spec/spec/expectations/fail_with_spec.rb
182
- - spec/spec/extensions
183
279
  - spec/spec/extensions/main_spec.rb
184
- - spec/spec/interop
185
- - spec/spec/interop/test
186
- - spec/spec/interop/test/unit
187
- - spec/spec/interop/test/unit/resources
188
280
  - spec/spec/interop/test/unit/resources/spec_that_fails.rb
189
281
  - spec/spec/interop/test/unit/resources/spec_that_passes.rb
190
282
  - spec/spec/interop/test/unit/resources/spec_with_errors.rb
@@ -196,7 +288,6 @@ files:
196
288
  - spec/spec/interop/test/unit/test_unit_spec_helper.rb
197
289
  - spec/spec/interop/test/unit/testcase_spec.rb
198
290
  - spec/spec/interop/test/unit/testsuite_adapter_spec.rb
199
- - spec/spec/matchers
200
291
  - spec/spec/matchers/be_close_spec.rb
201
292
  - spec/spec/matchers/be_spec.rb
202
293
  - spec/spec/matchers/change_spec.rb
@@ -217,7 +308,6 @@ files:
217
308
  - spec/spec/matchers/satisfy_spec.rb
218
309
  - spec/spec/matchers/simple_matcher_spec.rb
219
310
  - spec/spec/matchers/throw_symbol_spec.rb
220
- - spec/spec/mocks
221
311
  - spec/spec/mocks/any_number_of_times_spec.rb
222
312
  - spec/spec/mocks/argument_expectation_spec.rb
223
313
  - spec/spec/mocks/at_least_spec.rb
@@ -226,6 +316,7 @@ files:
226
316
  - spec/spec/mocks/bug_report_10263_spec.rb
227
317
  - spec/spec/mocks/bug_report_11545_spec.rb
228
318
  - spec/spec/mocks/bug_report_15719_spec.rb
319
+ - spec/spec/mocks/bug_report_496.rb
229
320
  - spec/spec/mocks/bug_report_7611_spec.rb
230
321
  - spec/spec/mocks/bug_report_7805_spec.rb
231
322
  - spec/spec/mocks/bug_report_8165_spec.rb
@@ -236,6 +327,7 @@ files:
236
327
  - spec/spec/mocks/mock_space_spec.rb
237
328
  - spec/spec/mocks/mock_spec.rb
238
329
  - spec/spec/mocks/multiple_return_value_spec.rb
330
+ - spec/spec/mocks/nil_expectation_warning_spec.rb
239
331
  - spec/spec/mocks/null_object_mock_spec.rb
240
332
  - spec/spec/mocks/once_counts_spec.rb
241
333
  - spec/spec/mocks/options_hash_spec.rb
@@ -246,17 +338,13 @@ files:
246
338
  - spec/spec/mocks/record_messages_spec.rb
247
339
  - spec/spec/mocks/stub_spec.rb
248
340
  - spec/spec/mocks/twice_counts_spec.rb
249
- - spec/spec/package
250
341
  - spec/spec/package/bin_spec_spec.rb
251
- - spec/spec/runner
252
342
  - spec/spec/runner/class_and_argument_parser_spec.rb
253
343
  - spec/spec/runner/command_line_spec.rb
254
344
  - spec/spec/runner/drb_command_line_spec.rb
255
345
  - spec/spec/runner/empty_file.txt
256
346
  - spec/spec/runner/examples.txt
257
- - spec/spec/runner/execution_context_spec.rb
258
347
  - spec/spec/runner/failed.txt
259
- - spec/spec/runner/formatter
260
348
  - spec/spec/runner/formatter/failing_example_groups_formatter_spec.rb
261
349
  - spec/spec/runner/formatter/failing_examples_formatter_spec.rb
262
350
  - spec/spec/runner/formatter/html_formatted-1.8.4.html
@@ -271,9 +359,9 @@ files:
271
359
  - spec/spec/runner/formatter/snippet_extractor_spec.rb
272
360
  - spec/spec/runner/formatter/spec_mate_formatter_spec.rb
273
361
  - spec/spec/runner/formatter/specdoc_formatter_spec.rb
274
- - spec/spec/runner/formatter/story
275
362
  - spec/spec/runner/formatter/story/html_formatter_spec.rb
276
363
  - spec/spec/runner/formatter/story/plain_text_formatter_spec.rb
364
+ - spec/spec/runner/formatter/story/progress_bar_formatter_spec.rb
277
365
  - spec/spec/runner/formatter/text_mate_formatted-1.8.4.html
278
366
  - spec/spec/runner/formatter/text_mate_formatted-1.8.6.html
279
367
  - spec/spec/runner/heckle_runner_spec.rb
@@ -286,25 +374,20 @@ files:
286
374
  - spec/spec/runner/output_one_time_spec.rb
287
375
  - spec/spec/runner/quiet_backtrace_tweaker_spec.rb
288
376
  - spec/spec/runner/reporter_spec.rb
289
- - spec/spec/runner/resources
290
377
  - spec/spec/runner/resources/a_bar.rb
291
378
  - spec/spec/runner/resources/a_foo.rb
292
379
  - spec/spec/runner/resources/a_spec.rb
293
380
  - spec/spec/runner/spec.opts
294
381
  - spec/spec/runner/spec_drb.opts
295
- - spec/spec/runner/spec_parser
296
382
  - spec/spec/runner/spec_parser/spec_parser_fixture.rb
297
383
  - spec/spec/runner/spec_parser_spec.rb
298
384
  - spec/spec/runner/spec_spaced.opts
299
385
  - spec/spec/runner_spec.rb
300
386
  - spec/spec/spec_classes.rb
301
- - spec/spec/story
302
387
  - spec/spec/story/builders.rb
303
- - spec/spec/story/extensions
304
388
  - spec/spec/story/extensions/main_spec.rb
305
389
  - spec/spec/story/extensions_spec.rb
306
390
  - spec/spec/story/given_scenario_spec.rb
307
- - spec/spec/story/runner
308
391
  - spec/spec/story/runner/plain_text_story_runner_spec.rb
309
392
  - spec/spec/story/runner/scenario_collector_spec.rb
310
393
  - spec/spec/story/runner/scenario_runner_spec.rb
@@ -319,139 +402,56 @@ files:
319
402
  - spec/spec/story/story_helper.rb
320
403
  - spec/spec/story/story_spec.rb
321
404
  - spec/spec/story/world_spec.rb
322
- - spec/spec/translator_spec.rb
323
- - spec/spec.opts
324
405
  - spec/spec_helper.rb
325
- - examples/pure
326
- - examples/pure/autogenerated_docstrings_example.rb
327
- - examples/pure/before_and_after_example.rb
328
- - examples/pure/behave_as_example.rb
329
- - examples/pure/custom_expectation_matchers.rb
330
- - examples/pure/custom_formatter.rb
331
- - examples/pure/dynamic_spec.rb
332
- - examples/pure/file_accessor.rb
333
- - examples/pure/file_accessor_spec.rb
334
- - examples/pure/greeter_spec.rb
335
- - examples/pure/helper_method_example.rb
336
- - examples/pure/io_processor.rb
337
- - examples/pure/io_processor_spec.rb
338
- - examples/pure/legacy_spec.rb
339
- - examples/pure/mocking_example.rb
340
- - examples/pure/multi_threaded_behaviour_runner.rb
341
- - examples/pure/nested_classes_example.rb
342
- - examples/pure/partial_mock_example.rb
343
- - examples/pure/pending_example.rb
344
- - examples/pure/predicate_example.rb
345
- - examples/pure/priority.txt
346
- - examples/pure/shared_example_group_example.rb
347
- - examples/pure/shared_stack_examples.rb
348
- - examples/pure/spec_helper.rb
349
- - examples/pure/stack.rb
350
- - examples/pure/stack_spec.rb
351
- - examples/pure/stack_spec_with_nested_example_groups.rb
352
- - examples/pure/stubbing_example.rb
353
- - examples/stories
354
- - examples/stories/adder.rb
355
- - examples/stories/addition
356
- - examples/stories/addition.rb
357
- - examples/stories/calculator.rb
358
- - examples/stories/game-of-life
359
- - examples/stories/game-of-life/behaviour
360
- - examples/stories/game-of-life/behaviour/everything.rb
361
- - examples/stories/game-of-life/behaviour/examples
362
- - examples/stories/game-of-life/behaviour/examples/examples.rb
363
- - examples/stories/game-of-life/behaviour/examples/game_behaviour.rb
364
- - examples/stories/game-of-life/behaviour/examples/grid_behaviour.rb
365
- - examples/stories/game-of-life/behaviour/stories
366
- - examples/stories/game-of-life/behaviour/stories/CellsWithLessThanTwoNeighboursDie.story
367
- - examples/stories/game-of-life/behaviour/stories/CellsWithMoreThanThreeNeighboursDie.story
368
- - examples/stories/game-of-life/behaviour/stories/create_a_cell.rb
369
- - examples/stories/game-of-life/behaviour/stories/EmptySpacesWithThreeNeighboursCreateACell.story
370
- - examples/stories/game-of-life/behaviour/stories/helper.rb
371
- - examples/stories/game-of-life/behaviour/stories/ICanCreateACell.story
372
- - examples/stories/game-of-life/behaviour/stories/ICanKillACell.story
373
- - examples/stories/game-of-life/behaviour/stories/kill_a_cell.rb
374
- - examples/stories/game-of-life/behaviour/stories/steps.rb
375
- - examples/stories/game-of-life/behaviour/stories/stories.rb
376
- - examples/stories/game-of-life/behaviour/stories/stories.txt
377
- - examples/stories/game-of-life/behaviour/stories/TheGridWraps.story
378
- - examples/stories/game-of-life/life
379
- - examples/stories/game-of-life/life/game.rb
380
- - examples/stories/game-of-life/life/grid.rb
381
- - examples/stories/game-of-life/life.rb
382
- - examples/stories/game-of-life/README.txt
383
- - examples/stories/helper.rb
384
- - examples/stories/steps
385
- - examples/stories/steps/addition_steps.rb
386
- - failing_examples/diffing_spec.rb
387
- - failing_examples/failing_autogenerated_docstrings_example.rb
388
- - failing_examples/failure_in_setup.rb
389
- - failing_examples/failure_in_teardown.rb
390
- - failing_examples/mocking_example.rb
391
- - failing_examples/mocking_with_flexmock.rb
392
- - failing_examples/mocking_with_mocha.rb
393
- - failing_examples/mocking_with_rr.rb
394
- - failing_examples/partial_mock_example.rb
395
- - failing_examples/predicate_example.rb
396
- - failing_examples/raising_example.rb
397
- - failing_examples/README.txt
398
- - failing_examples/spec_helper.rb
399
- - failing_examples/syntax_error_example.rb
400
- - failing_examples/team_spec.rb
401
- - failing_examples/timeout_behaviour.rb
402
- - plugins/mock_frameworks
403
- - plugins/mock_frameworks/flexmock.rb
404
- - plugins/mock_frameworks/mocha.rb
405
- - plugins/mock_frameworks/rr.rb
406
- - plugins/mock_frameworks/rspec.rb
407
406
  - stories/all.rb
408
- - stories/example_groups
407
+ - stories/configuration/before_blocks.story
408
+ - stories/configuration/stories.rb
409
409
  - stories/example_groups/autogenerated_docstrings
410
410
  - stories/example_groups/example_group_with_should_methods
411
411
  - stories/example_groups/nested_groups
412
412
  - stories/example_groups/output
413
413
  - stories/example_groups/stories.rb
414
414
  - stories/helper.rb
415
- - stories/interop
416
415
  - stories/interop/examples_and_tests_together
417
416
  - stories/interop/stories.rb
418
417
  - stories/interop/test_case_with_should_methods
419
- - stories/mock_framework_integration
420
418
  - stories/mock_framework_integration/stories.rb
421
419
  - stories/mock_framework_integration/use_flexmock.story
422
- - stories/pending_stories
423
420
  - stories/pending_stories/README
424
- - stories/resources
425
- - stories/resources/helpers
426
421
  - stories/resources/helpers/cmdline.rb
427
422
  - stories/resources/helpers/story_helper.rb
428
- - stories/resources/matchers
429
423
  - stories/resources/matchers/smart_match.rb
430
- - stories/resources/spec
424
+ - stories/resources/spec/before_blocks_example.rb
431
425
  - stories/resources/spec/example_group_with_should_methods.rb
432
426
  - stories/resources/spec/simple_spec.rb
433
427
  - stories/resources/spec/spec_with_flexmock.rb
434
- - stories/resources/steps
435
428
  - stories/resources/steps/running_rspec.rb
436
- - stories/resources/stories
437
429
  - stories/resources/stories/failing_story.rb
438
- - stories/resources/test
439
430
  - stories/resources/test/spec_and_test_together.rb
440
431
  - stories/resources/test/test_case_with_should_methods.rb
441
- - rake_tasks/examples.rake
442
- - rake_tasks/examples_with_rcov.rake
443
- - rake_tasks/failing_examples_with_html.rake
444
- - rake_tasks/verify_rcov.rake
432
+ - stories/stories/multiline_steps.story
433
+ - stories/stories/steps/multiline_steps.rb
434
+ - stories/stories/stories.rb
435
+ - story_server/prototype/javascripts/builder.js
436
+ - story_server/prototype/javascripts/controls.js
437
+ - story_server/prototype/javascripts/dragdrop.js
438
+ - story_server/prototype/javascripts/effects.js
439
+ - story_server/prototype/javascripts/prototype.js
440
+ - story_server/prototype/javascripts/rspec.js
441
+ - story_server/prototype/javascripts/scriptaculous.js
442
+ - story_server/prototype/javascripts/slider.js
443
+ - story_server/prototype/javascripts/sound.js
444
+ - story_server/prototype/javascripts/unittest.js
445
+ - story_server/prototype/lib/server.rb
446
+ - story_server/prototype/stories.html
447
+ - story_server/prototype/stylesheets/rspec.css
448
+ - story_server/prototype/stylesheets/test.css
445
449
  has_rdoc: true
446
- homepage: http://rspec.rubyforge.org
450
+ homepage: http://rspec.info/
447
451
  post_install_message:
448
452
  rdoc_options:
449
- - --title
450
- - RSpec
451
- - --line-numbers
452
- - --inline-source
453
453
  - --main
454
- - README
454
+ - README.txt
455
455
  require_paths:
456
456
  - lib
457
457
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -469,9 +469,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
469
469
  requirements: []
470
470
 
471
471
  rubyforge_project: rspec
472
- rubygems_version: 1.1.1
472
+ rubygems_version: 1.2.0
473
473
  signing_key:
474
474
  specification_version: 2
475
- summary: RSpec-1.1.4 (build 20080526202855) - BDD for Ruby http://rspec.rubyforge.org/
475
+ summary: rspec version 1.1.5
476
476
  test_files: []
477
477