forked from rspec/rspec.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfile.Changelog.html
551 lines (551 loc) · 23.6 KB
/
file.Changelog.html
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>
File: Changelog
— Documentation by YARD 0.8.7.3
</title>
<link rel="stylesheet" href="/stylesheets/docs/style.css" type="text/css" charset="utf-8" />
<link rel="stylesheet" href="/stylesheets/docs/common.css" type="text/css" charset="utf-8" />
<link rel="stylesheet" href="/stylesheets/docs/rspec.css" type="text/css" charset="utf-8" />
<script type="text/javascript" charset="utf-8">
hasFrames = window.top.frames.main ? true : false;
relpath = '';
framesUrl = "frames.html#!" + escape(window.location.href);
</script>
<script type="text/javascript" charset="utf-8" src="/javascripts/docs/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="/javascripts/docs/app.js"></script>
</head>
<body>
<div id="header">
<div id="menu">
<a href="_index.html">Index</a> »
<span class="title">File: Changelog</span>
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
</div>
<div id="search">
<a class="full_list_link" id="class_list_link"
href="class_list.html">
Class List
</a>
<a class="full_list_link" id="method_list_link"
href="method_list.html">
Method List
</a>
<a class="full_list_link" id="file_list_link"
href="file_list.html">
File List
</a>
</div>
<div class="clear"></div>
</div>
<iframe id="search_frame"></iframe>
<div id="content"><div id='filecontents'><h3>Development</h3>
<p>Deprecations</p>
<ul>
<li>Deprecates <code>RSpec::Configuration#escaped_path</code>, this was an internal API that
was removed in <code>3.0.0</code>. (Jon Rowe, #1138)</li>
</ul>
<h3>2.99.0 / 2014-06-01</h3>
<p><a href="http://github.com/rspec/rspec-rails/compare/v2.99.0.rc1...v2.99.0">Full Changelog</a></p>
<p>No changes. Just taking it out of pre-release.</p>
<h3>2.99.0.rc1 / 2014-05-18</h3>
<p><a href="http://github.com/rspec/rspec-rails/compare/v2.99.0.beta2...v2.99.0.rc1">Full Changelog</a></p>
<p>Deprecations</p>
<ul>
<li>Deprecates <code>stub_model</code> and <code>mock_model</code> in favor of the
<code>rspec-activemodel-mocks</code> gem. (Thomas Holmes)</li>
<li>Issue a deprecation to instruct users to configure
<code>config.infer_spec_type_from_file_location!</code> during the
upgrade process since spec type inference is opt-in in 3.0.
(Jon Rowe)</li>
<li>Issue a deprecation when <code>described_class</code> is accessed in a controller
example group that has used the <code>controller { }</code> macro to generate an
anonymous controller class, since in 2.x, <code>described_class</code> would
return that generated class but in 3.0 it will continue returning the
class passed to <code>describe</code>. (Myron Marston)</li>
</ul>
<h3>2.99.0.beta2 / 2014-02-17</h3>
<p><a href="http://github.com/rspec/rspec-rails/compare/v2.99.0.beta1...v2.99.0.beta2">Full Changelog</a></p>
<p>Bug fixes</p>
<ul>
<li>Use <code>__send__</code> rather than <code>send</code> to prevent naming collisions (Bradley Schaefer)</li>
<li>Supports Rails 4.1. (Andy Lindeman)</li>
<li>Loads ActiveSupport properly to support changes in Rails 4.1. (Andy Lindeman)</li>
<li>Anonymous controllers inherit from <code>ActionController::Base</code> if <code>ApplicationController</code>
is not present. (Jon Rowe)</li>
</ul>
<p>Deprecations</p>
<ul>
<li>Deprecates the <code>--webrat</code> option to the scaffold and request spec generator (Andy Lindeman)</li>
<li>Deprecates the use of <code>Capybara::DSL</code> (e.g., <code>visit</code>) in controller specs.
It is more appropriate to use capybara in feature specs (<code>spec/features</code>)
instead. (Andy Lindeman)</li>
</ul>
<h3>2.99.0.beta1 / 2013-11-07</h3>
<p><a href="http://github.com/rspec/rspec-rails/compare/v2.14.0...v2.99.0.beta1">Full Changelog</a></p>
<p>Deprecations</p>
<ul>
<li>Deprecates autotest integration in favor of the <code>rspec-autotest</code> gem. (Andy
Lindeman)</li>
</ul>
<p>Enhancements</p>
<ul>
<li>Supports Rails 4.1 and Minitest 5. (Patrick Van Stee)</li>
</ul>
<p>Bug fixes</p>
<ul>
<li>Fixes "warning: instance variable @orig_routes not initialized" raised by
controller specs when <code>--warnings</code> are enabled. (Andy Lindeman)</li>
<li>Where possible, check against the version of ActiveRecord, rather than
Rails. It is possible to use some of rspec-rails without all of Rails.
(Darryl Pogue)</li>
<li>Explicitly depends on <code>activemodel</code>. This allows libraries that do not bring
in all of <code>rails</code> to use <code>rspec-rails</code>. (John Firebaugh)</li>
</ul>
<h3>2.14.0 / 2013-07-06</h3>
<p><a href="http://github.com/rspec/rspec-rails/compare/v2.14.0.rc1...v2.14.0">Full Changelog</a></p>
<p>Bug fixes</p>
<ul>
<li>Rake tasks do not define methods that might interact with other libraries.
(Fujimura Daisuke)</li>
<li>Reverts fix for out-of-order <code>let</code> definitions in controller specs after the
issue was fixed upstream in rspec-core. (Andy Lindeman)</li>
<li>Fixes deprecation warning when using <code>expect(Model).to have(n).records</code> with
Rails 4. (Andy Lindeman)</li>
</ul>
<h3>2.14.0.rc1 / 2013-05-27</h3>
<p><a href="http://github.com/rspec/rspec-rails/compare/v2.13.2...v2.14.0.rc1">Full Changelog</a></p>
<p>Enhancements</p>
<ul>
<li>Prelimiarily support Rails 4.1 by updating adapters to support Minitest 5.0.
(Andy Lindeman)</li>
</ul>
<p>Bug fixes</p>
<ul>
<li><code>rake stats</code> runs correctly when spec files exist at the top level of the
spec/ directory. (Benjamin Fleischer)</li>
</ul>
<h3>2.13.2 / 2013-05-18</h3>
<p><a href="http://github.com/rspec/rspec-rails/compare/v2.13.1...v2.13.2">Full Changelog</a></p>
<p>Bug fixes</p>
<ul>
<li><code>let</code> definitions may override methods defined in modules brought in via
<code>config.include</code> in controller specs. Fixes regression introduced in 2.13.
(Andy Lindeman, Jon Rowe)</li>
<li>Code that checks Rails version numbers is more robust in cases where Rails is
not fully loaded. (Andy Lindeman)</li>
</ul>
<h3>2.13.1 / 2013-04-27</h3>
<p><a href="http://github.com/rspec/rspec-rails/compare/v2.13.0...v2.13.1">Full Changelog</a></p>
<p>Bug fixes</p>
<ul>
<li>View specs are no longer generated if no template engine is specified (Kevin
Glowacz)</li>
<li><code>ActionController::Base.allow_forgery_protection</code> is set to its original
value after each example. (Mark Dimas)</li>
<li><code>patch</code> is supported in routing specs. (Chris Your)</li>
<li>Routing assertions are supported in controller specs in Rails 4. (Andy
Lindeman)</li>
<li>Fix spacing in the install generator template (Taiki ONO)</li>
</ul>
<h3>2.13.0 / 2013-02-23</h3>
<p><a href="http://github.com/rspec/rspec-rails/compare/v2.12.2...v2.13.0">Full Changelog</a></p>
<p>Enhancements</p>
<ul>
<li><code>be_valid</code> matcher includes validation error messages. (Tom Scott)</li>
<li>Adds cucumber scenario showing how to invoke an anonymous controller's
non-resourceful actions. (Paulo Luis Franchini Casaretto)</li>
<li>Null template handler is used when views are stubbed. (Daniel Schierbeck)</li>
<li>The generated <code>spec_helper.rb</code> in Rails 4 includes a check for pending
migrations. (Andy Lindeman)</li>
<li>Adds <code>rake spec:features</code> task. (itzki)</li>
<li>Rake tasks are automatically generated for each spec/ directory.
(Rudolf Schmidt)</li>
</ul>
<h3>2.12.2 / 2013-01-12</h3>
<p><a href="http://github.com/rspec/rspec-rails/compare/v2.12.1...v2.12.2">Full Changelog</a></p>
<p>Bug fixes</p>
<ul>
<li>Reverts earlier fix where anonymous controllers defined the <code>_routes</code> method
to support testing of redirection and generation of URLs from other contexts.
The implementation ended up breaking the ability to refer to non-anonymous
routes in the context of the controller under test.</li>
<li>Uses <code>assert_select</code> correctly in view specs generated by scaffolding. (Andy
Lindeman)</li>
</ul>
<h3>2.12.1 / 2013-01-07</h3>
<p><a href="http://github.com/rspec/rspec-rails/compare/v2.12.0...v2.12.1">Full Changelog</a></p>
<p>Bug fixes</p>
<ul>
<li>Operates correctly when ActiveRecord is only partially loaded (e.g., with
older versions of Mongoid). (Eric Marden)</li>
<li><code>expect(subject).to have(...).errors_on</code> operates correctly for
ActiveResource models where <code>valid?</code> does not accept an argument. (Yi Wen)</li>
<li>Rails 4 support for routing specs. (Andy Lindeman)</li>
<li>Rails 4 support for <code>ActiveRecord::Relation</code> and the <code>=~</code> operator matcher.
(Andy Lindeman)</li>
<li>Anonymous controllers define <code>_routes</code> to support testing of redirection
and generation of URLs from other contexts. (Andy Lindeman)</li>
</ul>
<h3>2.12.0 / 2012-11-12</h3>
<p><a href="http://github.com/rspec/rspec-rails/compare/v2.11.4...v2.12.0">Full Changelog</a></p>
<p>Enhancements</p>
<ul>
<li>Support validation contexts when using <code>#errors_on</code> (Woody Peterson)</li>
<li>Include RequestExampleGroup in groups in spec/api</li>
</ul>
<p>Bug fixes</p>
<ul>
<li>Add <code>should</code> and <code>should_not</code> to <code>CollectionProxy</code> (Rails 3.1+) and
<code>AssociationProxy</code> (Rails 3.0). (Myron Marston)</li>
<li><code>controller.controller_path</code> is set correctly for view specs in Rails 3.1+.
(Andy Lindeman)</li>
<li>Generated specs support module namespacing (e.g., in a Rails engine).
(Andy Lindeman)</li>
<li><code>render</code> properly infers the view to be rendered in Rails 3.0 and 3.1
(John Firebaugh)</li>
<li>AutoTest mappings involving config/ work correctly (Brent J. Nordquist)</li>
<li>Failures message for <code>be_new_record</code> are more useful (Andy Lindeman)</li>
</ul>
<h3>2.11.4 / 2012-10-14</h3>
<p><a href="http://github.com/rspec/rspec-rails/compare/v2.11.0...v2.11.4">Full Changelog</a></p>
<p>Capybara-2.0 integration support:</p>
<ul>
<li>include RailsExampleGroup in spec/features (necessary when there is no AR)</li>
<li>include Capybara::DSL and Capybara::RSpecMatchers in spec/features</li>
</ul>
<p>See <a href="https://github.com/jnicklas/capybara/pull/809">https://github.com/jnicklas/capybara/pull/809</a>
and <a href="http://rubydoc.info/gems/rspec-rails/file/Capybara.md">http://rubydoc.info/gems/rspec-rails/file/Capybara.md</a>
for background.</p>
<p>2.11.1, .2, .3 were yanked due to errant documentation.</p>
<h3>2.11.0 / 2012-07-07</h3>
<p><a href="http://github.com/rspec/rspec-rails/compare/v2.10.1...v2.11.0">Full Changelog</a></p>
<p>Enhancements</p>
<ul>
<li>The generated <code>spec/spec_helper.rb</code> sets <code>config.order = "random"</code> so that
specs run in random order by default.</li>
<li>rename <code>render_template</code> to <code>have_rendered</code> (and alias to <code>render_template</code>
for backward compatibility)</li>
<li>The controller spec generated with <code>rails generate scaffold namespaced::model</code>
matches the spec generated with <code>rails generate scaffold namespaced/model</code>
(Kohei Hasegawa)</li>
</ul>
<p>Bug fixes</p>
<ul>
<li>"uninitialized constant" errors are avoided when using using gems like
<code>rspec-rails-uncommitted</code> that define <code>Rspec::Rails</code> before <code>rspec-rails</code>
loads (Andy Lindeman)</li>
</ul>
<h3>2.10.1 / 2012-05-03</h3>
<p><a href="http://github.com/rspec/rspec-rails/compare/v2.10.0...v2.10.1">Full Changelog</a></p>
<p>Bug fixes</p>
<ul>
<li>fix regression introduced in 2.10.0 that broke integration with Devise
(<a href="https://github.com/rspec/rspec-rails/issues/534">https://github.com/rspec/rspec-rails/issues/534</a>)</li>
<li>remove generation of helper specs when running the scaffold generator, as
Rails already does this (Jack Dempsey)</li>
</ul>
<h3>2.10.0 / 2012-05-03</h3>
<p><a href="http://github.com/rspec/rspec-rails/compare/v2.9.0...v2.10.0">Full Changelog</a></p>
<p>Bug fixes</p>
<ul>
<li><code>render_views</code> called in a spec can now override the config setting. (martinsvalin)</li>
<li>Fix <code>render_views</code> for anonymous controllers on 1.8.7. (hudge, mudge)</li>
<li>Eliminate use of deprecated <code>process_view_paths</code></li>
<li>Fix false negatives when using <code>route_to</code> matcher with <code>should_not</code></li>
<li><code>controller</code> is no longer nil in <code>config.before</code> hooks</li>
<li>Change <code>request.path_parameters</code> keys to symbols to match real Rails
environment (Nathan Broadbent)</li>
<li>Silence deprecation warnings in pre-2.9 generated view specs (Jonathan del
Strother)</li>
</ul>
<h3>2.9.0 / 2012-03-17</h3>
<p><a href="http://github.com/rspec/rspec-rails/compare/v2.8.1...v2.9.0">Full Changelog</a></p>
<p>Enhancements</p>
<ul>
<li>add description method to RouteToMatcher (John Wulff)</li>
<li>Run "db:test:clone_structure" instead of "db:test:prepare" if Active Record's
schema format is ":sql". (Andrey Voronkov)</li>
</ul>
<p>Bug fixes</p>
<ul>
<li><code>mock_model(XXX).as_null_object.unknown_method</code> returns self again</li>
<li>Generated view specs use different IDs for each attribute.</li>
</ul>
<h3>2.8.1 / 2012-01-04</h3>
<p><a href="http://github.com/rspec/rspec-rails/compare/v2.8.0...v2.8.1">Full Changelog</a></p>
<p>NOTE: there was a change in rails-3.2.0.rc2 which broke compatibility with
stub_model in rspec-rails. This release fixes that issue, but it means that
you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >=
3.2.0.rc2.</p>
<ul>
<li>Bug fixes
<ul>
<li>Explicitly stub valid? in stub_model. Fixes stub_model for rails versions
>= 3.2.0.rc2.</li>
</ul></li>
</ul>
<h3>2.8.0 / 2012-01-04</h3>
<p><a href="http://github.com/rspec/rspec-rails/compare/v2.8.0.rc2...v2.8.0">Full Changelog</a></p>
<ul>
<li>Enhancements
<ul>
<li>Eliminate deprecation warnings in generated view specs in Rails 3.2</li>
<li>Ensure namespaced helpers are included automatically (Evgeniy Dolzhenko)</li>
<li>Added cuke scenario documenting which routes are generated for anonymous
controllers (Alan Shields)</li>
</ul></li>
</ul>
<h3>2.8.0.rc2 / 2011-12-19</h3>
<p><a href="http://github.com/rspec/rspec-mocks/compare/v2.8.0.rc1...v2.8.0.rc2">Full Changelog</a></p>
<ul>
<li><p>Enhancements</p>
<ul>
<li>Add session hash to generated controller specs (Thiago Almeida)</li>
<li>Eliminate deprecation warnings about InstanceMethods modules in Rails 3.2</li>
</ul></li>
<li><p>Bug fixes</p>
<ul>
<li>Stub attribute accessor after <code>respond_to?</code> call on mocked model (Igor
Afonov)</li>
</ul></li>
</ul>
<h3>2.8.0.rc1 / 2011-11-06</h3>
<p><a href="http://github.com/rspec/rspec-rails/compare/v2.7.0...v2.8.0.rc1">Full Changelog</a></p>
<ul>
<li><p>Enhancements</p>
<ul>
<li>Removed unnecessary "config.mock_with :rspec" from spec_helper.rb (Paul
Annesley)</li>
</ul></li>
<li><p>Changes</p>
<ul>
<li>No API changes for rspec-rails in this release, but some internals
changed to align with rspec-core-2.8</li>
</ul></li>
<li><p><a href="https://github.com/rspec/rspec-core/blob/master/Changelog.md">rspec-core</a></p></li>
<li><p><a href="https://github.com/rspec/rspec-expectations/blob/master/Changelog.md">rspec-expectations</a></p></li>
<li><p><a href="https://github.com/rspec/rspec-mocks/blob/master/Changelog.md">rspec-mocks</a></p></li>
</ul>
<h3>2.7.0 / 2011-10-16</h3>
<p><a href="http://github.com/rspec/rspec-rails/compare/v2.6.1...v2.7.0">Full Changelog</a></p>
<ul>
<li><p>Enhancements</p>
<ul>
<li><code>ActiveRecord::Relation</code> can use the <code>=~</code> matcher (Andy Lindeman)</li>
<li>Make generated controller spec more consistent with regard to ids
(Brent J. Nordquist)</li>
<li>Less restrictive autotest mapping between spec and implementation files
(José Valim)</li>
<li><code>require 'rspec/autorun'</code> from generated <code>spec_helper.rb</code> (David Chelimsky)</li>
<li>add <code>bypass_rescue</code> (Lenny Marks)</li>
<li><code>route_to</code> accepts query string (Marc Weil)</li>
</ul></li>
<li><p>Internal</p>
<ul>
<li>Added specs for generators using ammeter (Alex Rothenberg)</li>
</ul></li>
<li><p>Bug fixes</p>
<ul>
<li>Fix configuration/integration bug with rails 3.0 (fixed in 3.1) in which
<code>fixure_file_upload</code> reads from <code>ActiveSupport::TestCase.fixture_path</code> and
misses RSpec's configuration (David Chelimsky)</li>
<li>Support nested resource in view spec generator (David Chelimsky)</li>
<li>Define <code>primary_key</code> on class generated by <code>mock_model("WithAString")</code>
(David Chelimsky)</li>
</ul></li>
</ul>
<h3>2.6.1 / 2011-05-25</h3>
<p><a href="http://github.com/rspec/rspec-rails/compare/v2.6.0...v2.6.1">Full Changelog</a></p>
<p>This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1</p>
<ul>
<li>Bug fixes
<ul>
<li>fix controller specs with anonymous controllers with around filters</li>
<li>exclude spec directory from rcov metrics (Rodrigo Navarro)</li>
<li>guard against calling prerequisites on nil default rake task (Jack Dempsey)</li>
</ul></li>
</ul>
<h3>2.6.0 / 2011-05-12</h3>
<p><a href="http://github.com/rspec/rspec-rails/compare/v2.5.0...v2.6.0">Full Changelog</a></p>
<ul>
<li><p>Enhancements</p>
<ul>
<li>rails 3 shortcuts for routing specs (Joe Fiorini)</li>
<li>support nested resources in generators (Tim McEwan)</li>
<li>require 'rspec/rails/mocks' to use <code>mock_model</code> without requiring the whole
rails framework</li>
<li>Update the controller spec generated by the rails scaffold generator:</li>
<li>Add documentation to the generated spec</li>
<li>Use <code>any_instance</code> to avoid stubbing finders</li>
<li>Use real objects instead of <code>mock_model</code></li>
<li>Update capybara integration to work with capy 0.4 and 1.0.0.beta</li>
<li>Decorate paths passed to <code>[append|prepend]_view_paths</code> with empty templates
unless rendering views. (Mark Turner)</li>
</ul></li>
<li><p>Bug fixes</p>
<ul>
<li>fix typo in "rake spec:statsetup" (Curtis Schofield)</li>
<li>expose named routes in anonymous controller specs (Andy Lindeman)</li>
<li>error when generating namespaced scaffold resources (Andy Lindeman)</li>
<li>Fix load order issue w/ Capybara (oleg dashevskii)</li>
<li>Fix monkey patches that broke due to internal changes in rails-3.1.0.beta1</li>
</ul></li>
</ul>
<h3>2.5.0 / 2011-02-05</h3>
<p><a href="http://github.com/rspec/rspec-rails/compare/v2.4.1...v2.5.0">Full Changelog</a></p>
<ul>
<li><p>Enhancements</p>
<ul>
<li>use index_helper instead of table_name when generating specs (Reza
Primardiansyah)</li>
</ul></li>
<li><p>Bug fixes</p>
<ul>
<li>fixed bug in which <code>render_views</code> in a nested group set the value in its
parent group.</li>
<li>only include MailerExampleGroup when it is defined (Steve Sloan)</li>
<li>mock_model.as_null_object.attribute.blank? returns false (Randy Schmidt)</li>
<li>fix typo in request specs (Paco Guzman)</li>
</ul></li>
</ul>
<h3>2.4.1 / 2011-01-03</h3>
<p><a href="http://github.com/rspec/rspec-rails/compare/v2.4.0...v2.4.1">Full Changelog</a></p>
<ul>
<li>Bug fixes
<ul>
<li>fixed bug caused by including some Rails modules before RSpec's
RailsExampleGroup</li>
</ul></li>
</ul>
<h3>2.4.0 / 2011-01-02</h3>
<p><a href="http://github.com/rspec/rspec-rails/compare/v2.3.1...v2.4.0">Full Changelog</a></p>
<ul>
<li><p>Enhancements</p>
<ul>
<li>include ApplicationHelper in helper object in helper specs</li>
<li>include request spec extensions in files in spec/integration</li>
<li>include controller spec extensions in groups that use :type => :controller</li>
<li>same for :model, :view, :helper, :mailer, :request, :routing</li>
</ul></li>
<li><p>Bug fixes</p>
<ul>
<li>restore global config.render_views so you only need to say it once</li>
<li>support overriding render_views in nested groups</li>
<li>matchers that delegate to Rails' assertions capture
ActiveSupport::TestCase::Assertion (so they work properly now with
should_not in Ruby 1.8.7 and 1.9.1)</li>
</ul></li>
<li><p>Deprecations</p>
<ul>
<li>include_self_when_dir_matches</li>
</ul></li>
</ul>
<h3>2.3.1 / 2010-12-16</h3>
<p><a href="http://github.com/rspec/rspec-rails/compare/v2.3.0...v2.3.1">Full Changelog</a></p>
<ul>
<li>Bug fixes
<ul>
<li>respond_to? correctly handles 2 args</li>
<li>scaffold generator no longer fails on autotest directory</li>
</ul></li>
</ul>
<h3>2.3.0 / 2010-12-12</h3>
<p><a href="http://github.com/rspec/rspec-rails/compare/v2.2.1...v2.3.0">Full Changelog</a></p>
<ul>
<li>Changes
<ul>
<li>Generator no longer generates autotest/autodiscover.rb, as it is no longer
needed (as of rspec-core-2.3.0)</li>
</ul></li>
</ul>
<h3>2.2.1 / 2010-12-01</h3>
<p><a href="http://github.com/rspec/rspec-rails/compare/v2.2.0...v2.2.1">Full Changelog</a></p>
<ul>
<li><p>Bug fixes</p>
<ul>
<li>Depend on railties, activesupport, and actionpack instead of rails (Piotr
Solnica)</li>
<li>Got webrat integration working properly across different types of specs</li>
</ul></li>
<li><p>Deprecations</p>
<ul>
<li>--webrat-matchers flag for generators is deprecated. use --webrat instead.</li>
</ul></li>
</ul>
<h3>2.2.0 / 2010-11-28</h3>
<p><a href="http://github.com/rspec/rspec-rails/compare/v2.1.0...v2.2.0">Full Changelog</a></p>
<ul>
<li><p>Enhancements</p>
<ul>
<li>Added stub_template in view specs</li>
</ul></li>
<li><p>Bug fixes</p>
<ul>
<li>Properly include helpers in views (Jonathan del Strother)</li>
<li>Fix bug in which method missing led to a stack overflow</li>
<li>Fix stack overflow in request specs with open_session</li>
<li>Fix stack overflow in any spec when method_missing was invoked</li>
<li>Add gem dependency on rails ~> 3.0.0 (ensures bundler won't install
rspec-rails-2 with rails-2 apps).</li>
</ul></li>
</ul>
<h3>2.1.0 / 2010-11-07</h3>
<p><a href="http://github.com/rspec/rspec-rails/compare/v2.0.1...v2.1.0">Full Changelog</a></p>
<ul>
<li><p>Enhancements</p>
<ul>
<li>Move errors_on to ActiveModel to support other AM-compliant ORMs</li>
</ul></li>
<li><p>Bug fixes</p>
<ul>
<li>Check for presence of ActiveRecord instead of checking Rails config
(gets rspec out of the way of multiple ORMs in the same app)</li>
</ul></li>
</ul>
<h3>2.0.1 / 2010-10-15</h3>
<p><a href="http://github.com/rspec/rspec-rails/compare/v2.0.0...v2.0.1">Full Changelog</a></p>
<ul>
<li><p>Enhancements</p>
<ul>
<li>Add option to not generate request spec (--skip-request-specs)</li>
</ul></li>
<li><p>Bug fixes</p>
<ul>
<li>Updated the mock_[model] method generated in controller specs so it adds
any stubs submitted each time it is called.</li>
<li>Fixed bug where view assigns weren't making it to the view in view specs in Rails-3.0.1.
(Emanuele Vicentini)</li>
</ul></li>
</ul>
<h3>2.0.0 / 2010-10-10</h3>
<p><a href="https://github.com/rspec/rspec-rails/compare/ea6bdef...v2.0.0">Full Changelog</a></p>
<ul>
<li><p>Enhancements</p>
<ul>
<li>ControllerExampleGroup uses controller as the implicit subject by default (Paul Rosania)</li>
<li>autotest mapping improvements (Andreas Neuhaus)</li>
<li>more cucumber features (Justin Ko)</li>
<li>clean up spec helper (Andre Arko)</li>
<li>add assign(name, value) to helper specs (Justin Ko)</li>
<li>stub_model supports primary keys other than id (Justin Ko)</li>
<li>support choice between Webrat/Capybara (Justin Ko)</li>
<li>support specs for 'abstract' subclasses of ActionController::Base (Mike Gehard)</li>
<li>be_a_new matcher supports args (Justin Ko)</li>
</ul></li>
<li><p>Bug fixes</p>
<ul>
<li>support T::U components in mailer and request specs (Brasten Sager)</li>
</ul></li>
</ul>
</div></div>
<div id="footer">
Generated on Thu Jan 29 14:01:32 2015 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.8.7.3 (ruby-2.1.5).
</div>
</body>
</html>