Skip to content
This repository
Newer
Older
100644 313 lines (225 sloc) 11.327 kb
6b4b5cfe »
2012-08-05 A better fix for CollectionProxy#should.
1 ### dev
2 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.11.0...master)
3
0b24f149 »
2012-09-12 Changelog for #605
4 Enhancements
5
6 * Support validation contexts when using #errors_on (Woody Peterson)
0dbd9083 »
2012-10-06 Changelog
7 * Include Capybara::DSL and Capybara::RSpecMatchers in groups in spec/features
8 * Include RequestExampleGroup in groups in spec/api
0b24f149 »
2012-09-12 Changelog for #605
9
6b4b5cfe »
2012-08-05 A better fix for CollectionProxy#should.
10 Bug fixes
11
12 * Add `should` and `should_not` to `CollectionProxy` (Rails 3.1+) and
13 `AssociationProxy` (Rails 3.0). (Myron Marston)
724578d0 »
2012-10-07 Sets `#controller_path` in all versions of Rails
14 * `controller.controller_path` is set correctly for view specs in Rails 3.1+.
15 (Andy Lindeman)
6b4b5cfe »
2012-08-05 A better fix for CollectionProxy#should.
16
fb2f6f18 »
2012-07-07 bump to 2.11.0
17 ### 2.11.0 / 2012-07-07
18 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.10.1...v2.11.0)
0ad477ab »
2012-06-02 Changelog for #501
19
20 Enhancements
21
22 * The generated `spec/spec_helper.rb` sets `config.order = "random"` so that
23 specs run in random order by default.
6695a580 »
2012-06-02 renames `render_template` to `have_rendered`.
24 * rename `render_template` to `have_rendered` (and alias to `render_template`
25 for backward compatibility)
d818afe1 »
2012-08-06 Changelog for #591
26 * The controller spec generated with `rails generate scaffold namespaced::model`
27 matches the spec generated with `rails generate scaffold namespaced/model`
28 (Kohei Hasegawa)
6695a580 »
2012-06-02 renames `render_template` to `have_rendered`.
29
f869484d »
2012-06-06 changelog tweaks [ci skip]
30 Bug fixes
31
32 * "uninitialized constant" errors are avoided when using using gems like
33 `rspec-rails-uncommitted` that define `Rspec::Rails` before `rspec-rails`
34 loads (Andy Lindeman)
0ad477ab »
2012-06-02 Changelog for #501
35
63a9efd6 »
2012-05-05 bump to 2.10.1
36 ### 2.10.1 / 2012-05-03
37 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.10.0...v2.10.1)
38
39 Bug fixes
40
41 * fix regression introduced in 2.10.0 that broke integration with Devise
42 (https://github.com/rspec/rspec-rails/issues/534)
cfca79ed »
2012-05-31 Changlog for #551 [ci skip]
43 * remove generation of helper specs when running the scaffold generator, as
44 Rails already does this (Jack Dempsey)
63a9efd6 »
2012-05-05 bump to 2.10.1
45
c48da4c5 »
2012-05-03 update changelog for 2.10 release
46 ### 2.10.0 / 2012-05-03
47 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.9.0...v2.10.0)
002f1da5 »
2012-03-30 Changelog for #522
48
49 Bug fixes
50
51 * `render_views` called in a spec can now override the config setting. (martinsvalin)
4623ad18 »
2012-04-26 minor Changelog tweak [ci skip]
52 * Fix `render_views` for anonymous controllers on 1.8.7. (hudge, mudge)
3c09c4b9 »
2012-04-21 doc more changes in Changelog [ci skip]
53 * Eliminate use of deprecated `process_view_paths`
54 * Fix false negatives when using `route_to` matcher with `should_not`
55 * `controller` is no longer nil in `config.before` hooks
c48da4c5 »
2012-05-03 update changelog for 2.10 release
56 * Change `request.path_parameters` keys to symbols to match real Rails
89da19c2 »
2012-04-22 Changelog for #463 [ci skip]
57 environment (Nathan Broadbent)
040f6a9e »
2012-04-22 Changelog for #529 [ci skip]
58 * Silence deprecation warnings in pre-2.9 generated view specs (Jonathan del
59 Strother)
002f1da5 »
2012-03-30 Changelog for #522
60
9f976cb3 »
2012-03-17 bump to 2.9.0
61 ### 2.9.0 / 2012-03-17
62 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.8.1...v2.9.0)
7fa15c41 »
2012-01-18 mock_model(XXX).as_null_object.unknown_method returns self
63
b86190c7 »
2012-06-05 Fix typo in Changelog.md
64 Enhancements
6b7adaf9 »
2012-03-17 changlog formatting tweaks
65
ea2be20a »
2012-01-18 Changelog for #473.
66 * add description method to RouteToMatcher (John Wulff)
ddccef11 »
2012-03-07 changelog
67 * Run "db:test:clone_structure" instead of "db:test:prepare" if Active Record's
46a1a60b »
2012-03-07 Use name instead of handle
68 schema format is ":sql". (Andrey Voronkov)
ea2be20a »
2012-01-18 Changelog for #473.
69
7fa15c41 »
2012-01-18 mock_model(XXX).as_null_object.unknown_method returns self
70 Bug fixes
6b7adaf9 »
2012-03-17 changlog formatting tweaks
71
72 * `mock_model(XXX).as_null_object.unknown_method` returns self again
88ed708b »
2012-02-12 Generated view specs use different IDs for each attribute.
73 * Generated view specs use different IDs for each attribute.
7fa15c41 »
2012-01-18 mock_model(XXX).as_null_object.unknown_method returns self
74
8ed140d5 »
2012-01-04 Changelog for previous commit and bump to 2.8.1
75 ### 2.8.1 / 2012-01-04
76
77 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.8.0...v2.8.1)
78
79 NOTE: there was a change in rails-3.2.0.rc2 which broke compatibility with
80 stub_model in rspec-rails. This release fixes that issue, but it means that
81 you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >=
82 3.2.0.rc2.
83
84 * Bug fixes
85 * Explicitly stub valid? in stub_model. Fixes stub_model for rails versions
86 >= 3.2.0.rc2.
87
0fd5bf40 »
2012-01-04 bump to 2.8.0
88 ### 2.8.0 / 2012-01-04
1ac8709a »
2011-12-20 changelog for previous commit
89
0fd5bf40 »
2012-01-04 bump to 2.8.0
90 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.8.0.rc2...v2.8.0)
1ac8709a »
2011-12-20 changelog for previous commit
91
92 * Enhancements
93 * Eliminate deprecation warnings in generated view specs in Rails 3.2
c00355f3 »
2011-09-28 Ensure namespaced helpers are included automatically
94 * Ensure namespaced helpers are included automatically (Evgeniy Dolzhenko)
c4df12e8 »
2011-12-20 Changelog and remove .intern (send doesn't care)
95 * Added cuke scenario documenting which routes are generated for anonymous
96 controllers (Alan Shields)
1ac8709a »
2011-12-20 changelog for previous commit
97
13b699f5 »
2011-12-19 prep for 2.8.0.rc2
98 ### 2.8.0.rc2 / 2011-12-19
88137f25 »
2011-12-07 Changelog for #437
99
13b699f5 »
2011-12-19 prep for 2.8.0.rc2
100 [full changelog](http://github.com/rspec/rspec-mocks/compare/v2.8.0.rc1...v2.8.0.rc2)
88137f25 »
2011-12-07 Changelog for #437
101
ad5e580b »
2011-12-07 Changelog for #464
102 * Enhancements
103 * Add session hash to generated controller specs (Thiago Almeida)
1ac8709a »
2011-12-20 changelog for previous commit
104 * Eliminate deprecation warnings about InstanceMethods modules in Rails 3.2
ad5e580b »
2011-12-07 Changelog for #464
105
88137f25 »
2011-12-07 Changelog for #437
106 * Bug fixes
107 * Stub attribute accessor after `respond_to?` call on mocked model (Igor
108 Afonov)
109
2fa4bc70 »
2011-11-06 changelog
110 ### 2.8.0.rc1 / 2011-11-06
111
112 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.7.0...v2.8.0.rc1)
113
114 * Enhancements
115 * Removed unnecessary "config.mock_with :rspec" from spec_helper.rb (Paul
116 Annesley)
117
118 * Changes
119 * No API changes for rspec-rails in this release, but some internals
1ac8709a »
2011-12-20 changelog for previous commit
120 changed to align with rspec-core-2.8
2fa4bc70 »
2011-11-06 changelog
121
122 * [rspec-core](https://github.com/rspec/rspec-core/blob/master/Changelog.md)
123 * [rspec-expectations](https://github.com/rspec/rspec-expectations/blob/master/Changelog.md)
124 * [rspec-mocks](https://github.com/rspec/rspec-mocks/blob/master/Changelog.md)
125
9ed59a57 »
2011-10-16 update changelog for 2.7.0 release
126 ### 2.7.0 / 2011-10-16
aea643f3 »
2011-10-09 bump to 2.7.0.rc1
127
9ed59a57 »
2011-10-16 update changelog for 2.7.0 release
128 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.6.1...v2.7.0)
18c02e2b »
2011-06-25 changelog
129
b86190c7 »
2012-06-05 Fix typo in Changelog.md
130 * Enhancements
59a41f60 »
2011-10-16 fix formatting problems in the changelog
131 * `ActiveRecord::Relation` can use the `=~` matcher (Andy Lindeman)
18c02e2b »
2011-06-25 changelog
132 * Make generated controller spec more consistent with regard to ids
133 (Brent J. Nordquist)
fc75bc70 »
2011-07-03 Changelog
134 * Less restrictive autotest mapping between spec and implementation files
135 (José Valim)
59a41f60 »
2011-10-16 fix formatting problems in the changelog
136 * `require 'rspec/autorun'` from generated `spec_helper.rb` (David Chelimsky)
137 * add `bypass_rescue` (Lenny Marks)
138 * `route_to` accepts query string (Marc Weil)
44f49882 »
2011-06-25 Changelog
139
18c02e2b »
2011-06-25 changelog
140 * Internal
141 * Added specs for generators using ammeter (Alex Rothenberg)
142
44f49882 »
2011-06-25 Changelog
143 * Bug fixes
144 * Fix configuration/integration bug with rails 3.0 (fixed in 3.1) in which
59a41f60 »
2011-10-16 fix formatting problems in the changelog
145 `fixure_file_upload` reads from `ActiveSupport::TestCase.fixture_path` and
146 misses RSpec's configuration (David Chelimsky)
fc75bc70 »
2011-07-03 Changelog
147 * Support nested resource in view spec generator (David Chelimsky)
59a41f60 »
2011-10-16 fix formatting problems in the changelog
148 * Define `primary_key` on class generated by `mock_model("WithAString")`
149 (David Chelimsky)
44f49882 »
2011-06-25 Changelog
150
72671f31 »
2011-05-25 bump to 2.6.1
151 ### 2.6.1 / 2011-05-25
91b78d01 »
2011-05-19 update Changelog
152
72671f31 »
2011-05-25 bump to 2.6.1
153 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.6.0...v2.6.1)
91b78d01 »
2011-05-19 update Changelog
154
99ac04d4 »
2011-05-21 changelog
155 This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
91b78d01 »
2011-05-19 update Changelog
156
157 * Bug fixes
99ac04d4 »
2011-05-21 changelog
158 * fix controller specs with anonymous controllers with around filters
fd253dbe »
2011-05-25 credit
159 * exclude spec directory from rcov metrics (Rodrigo Navarro)
99ac04d4 »
2011-05-21 changelog
160 * guard against calling prerequisites on nil default rake task (Jack Dempsey)
91b78d01 »
2011-05-19 update Changelog
161
9a0d207a »
2011-05-12 prep for 2.6.0
162 ### 2.6.0 / 2011-05-12
b1f5b8fe »
2011-05-03 changelog
163
9a0d207a »
2011-05-12 prep for 2.6.0
164 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.5.0...v2.6.0)
29415d80 »
2011-04-24 changelog
165
166 * Enhancements
9a0d207a »
2011-05-12 prep for 2.6.0
167 * rails 3 shortcuts for routing specs (Joe Fiorini)
168 * support nested resources in generators (Tim McEwan)
169 * require 'rspec/rails/mocks' to use `mock_model` without requiring the whole
170 rails framework
29415d80 »
2011-04-24 changelog
171 * Update the controller spec generated by the rails scaffold generator:
1789ce2d »
2011-04-24 run bundle install if it hasn't been run yet
172 * Add documentation to the generated spec
2326c5df »
2011-05-01 changelog tweaks
173 * Use `any_instance` to avoid stubbing finders
174 * Use real objects instead of `mock_model`
59793dcc »
2011-04-25 Update Capybara integration to support 0.4 and 1.0
175 * Update capybara integration to work with capy 0.4 and 1.0.0.beta
2326c5df »
2011-05-01 changelog tweaks
176 * Decorate paths passed to `[append|prepend]_view_paths` with empty templates
443aa7ce »
2011-04-29 changelog
177 unless rendering views. (Mark Turner)
29415d80 »
2011-04-24 changelog
178
abf5d575 »
2011-03-23 changelog
179 * Bug fixes
180 * fix typo in "rake spec:statsetup" (Curtis Schofield)
5967d4b2 »
2011-04-16 changelog
181 * expose named routes in anonymous controller specs (Andy Lindeman)
3c53e96a »
2011-04-17 changelog
182 * error when generating namespaced scaffold resources (Andy Lindeman)
9a0d207a »
2011-05-12 prep for 2.6.0
183 * Fix load order issue w/ Capybara (oleg dashevskii)
184 * Fix monkey patches that broke due to internal changes in rails-3.1.0.beta1
abf5d575 »
2011-03-23 changelog
185
dbc04856 »
2011-02-05 prep for 2.5 release
186 ### 2.5.0 / 2011-02-05
3b279c63 »
2011-01-27 move some docs around
187
dbc04856 »
2011-02-05 prep for 2.5 release
188 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.4.1...v2.5.0)
3b279c63 »
2011-01-27 move some docs around
189
ad7fb9f7 »
2011-02-05 changlog
190 * Enhancements
191 * use index_helper instead of table_name when generating specs (Reza
192 Primardiansyah)
abf5d575 »
2011-03-23 changelog
193
3b279c63 »
2011-01-27 move some docs around
194 * Bug fixes
195 * fixed bug in which `render_views` in a nested group set the value in its
196 parent group.
66fb8190 »
2011-02-15 typo in changelog
197 * only include MailerExampleGroup when it is defined (Steve Sloan)
1a0508a4 »
2011-02-05 changelog
198 * mock_model.as_null_object.attribute.blank? returns false (Randy Schmidt)
ad7fb9f7 »
2011-02-05 changlog
199 * fix typo in request specs (Paco Guzman)
3b279c63 »
2011-01-27 move some docs around
200
201 ### 2.4.1 / 2011-01-03
202
203 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.4.0...v2.4.1)
204
205 * Bug fixes
206 * fixed bug caused by including some Rails modules before RSpec's
207 RailsExampleGroup
208
209 ### 2.4.0 / 2011-01-02
210
211 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.3.1...v2.4.0)
212
213 * Enhancements
214 * include ApplicationHelper in helper object in helper specs
215 * include request spec extensions in files in spec/integration
216 * include controller spec extensions in groups that use :type => :controller
217 * same for :model, :view, :helper, :mailer, :request, :routing
218
219 * Bug fixes
220 * restore global config.render_views so you only need to say it once
221 * support overriding render_views in nested groups
222 * matchers that delegate to Rails' assertions capture
223 ActiveSupport::TestCase::Assertion (so they work properly now with
224 should_not in Ruby 1.8.7 and 1.9.1)
225
226 * Deprecations
227 * include_self_when_dir_matches
228
229 ### 2.3.1 / 2010-12-16
230
231 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.3.0...v2.3.1)
232
233 * Bug fixes
234 * respond_to? correctly handles 2 args
235 * scaffold generator no longer fails on autotest directory
236
237 ### 2.3.0 / 2010-12-12
238
239 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.2.1...v2.3.0)
240
241 * Changes
242 * Generator no longer generates autotest/autodiscover.rb, as it is no longer
243 needed (as of rspec-core-2.3.0)
244
245 ### 2.2.1 / 2010-12-01
246
247 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.2.0...v2.2.1)
248
249 * Bug fixes
250 * Depend on railties, activesupport, and actionpack instead of rails (Piotr
251 Solnica)
252 * Got webrat integration working properly across different types of specs
253
254 * Deprecations
255 * --webrat-matchers flag for generators is deprecated. use --webrat instead.
256
257 ### 2.2.0 / 2010-11-28
258
259 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.1.0...v2.2.0)
260
261 * Enhancements
262 * Added stub_template in view specs
263
264 * Bug fixes
265 * Properly include helpers in views (Jonathan del Strother)
266 * Fix bug in which method missing led to a stack overflow
267 * Fix stack overflow in request specs with open_session
268 * Fix stack overflow in any spec when method_missing was invoked
269 * Add gem dependency on rails ~> 3.0.0 (ensures bundler won't install
270 rspec-rails-2 with rails-2 apps).
271
272 ### 2.1.0 / 2010-11-07
273
274 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.0.1...v2.1.0)
275
276 * Enhancements
277 * Move errors_on to ActiveModel to support other AM-compliant ORMs
278
279 * Bug fixes
280 * Check for presence of ActiveRecord instead of checking Rails config
281 (gets rspec out of the way of multiple ORMs in the same app)
282
283 ### 2.0.1 / 2010-10-15
284
285 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.0.0...v2.0.1)
286
287 * Enhancements
288 * Add option to not generate request spec (--skip-request-specs)
289
290 * Bug fixes
291 * Updated the mock_[model] method generated in controller specs so it adds
292 any stubs submitted each time it is called.
293 * Fixed bug where view assigns weren't making it to the view in view specs in Rails-3.0.1.
294 (Emanuele Vicentini)
295
296 ### 2.0.0 / 2010-10-10
297
298 [full changelog](https://github.com/rspec/rspec-rails/compare/ea6bdef...v2.0.0)
299
300 * Enhancements
301 * ControllerExampleGroup uses controller as the implicit subject by default (Paul Rosania)
302 * autotest mapping improvements (Andreas Neuhaus)
303 * more cucumber features (Justin Ko)
304 * clean up spec helper (Andre Arko)
305 * add assign(name, value) to helper specs (Justin Ko)
306 * stub_model supports primary keys other than id (Justin Ko)
307 * support choice between Webrat/Capybara (Justin Ko)
308 * support specs for 'abstract' subclasses of ActionController::Base (Mike Gehard)
309 * be_a_new matcher supports args (Justin Ko)
310
311 * Bug fixes
312 * support T::U components in mailer and request specs (Brasten Sager)
Something went wrong with that request. Please try again.