Skip to content

HTTPS clone URL

Subversion checkout URL

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