rspec-rails 3.9.0 → 5.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/Capybara.md +5 -54
- data/Changelog.md +212 -78
- data/README.md +27 -21
- data/lib/generators/rspec.rb +0 -6
- data/lib/generators/rspec/channel/channel_generator.rb +12 -0
- data/lib/generators/rspec/{observer/templates/observer_spec.rb → channel/templates/channel_spec.rb.erb} +1 -1
- data/lib/generators/rspec/controller/controller_generator.rb +22 -5
- data/lib/generators/rspec/controller/templates/request_spec.rb +19 -0
- data/lib/generators/rspec/controller/templates/routing_spec.rb +13 -0
- data/lib/generators/rspec/feature/feature_generator.rb +2 -2
- data/lib/generators/rspec/{generators → generator}/generator_generator.rb +2 -2
- data/lib/generators/rspec/{generators → generator}/templates/generator_spec.rb +0 -0
- data/lib/generators/rspec/helper/helper_generator.rb +1 -1
- data/lib/generators/rspec/install/install_generator.rb +4 -4
- data/lib/generators/rspec/install/templates/spec/rails_helper.rb +17 -16
- data/lib/generators/rspec/integration/integration_generator.rb +3 -3
- data/lib/generators/rspec/mailbox/mailbox_generator.rb +14 -0
- data/lib/generators/rspec/mailbox/templates/mailbox_spec.rb.erb +7 -0
- data/lib/generators/rspec/mailer/mailer_generator.rb +2 -1
- data/lib/generators/rspec/mailer/templates/mailer_spec.rb +2 -2
- data/lib/generators/rspec/mailer/templates/preview.rb +1 -1
- data/lib/generators/rspec/model/model_generator.rb +5 -4
- data/lib/generators/rspec/model/templates/fixtures.yml +1 -1
- data/lib/generators/rspec/request/request_generator.rb +1 -1
- data/lib/generators/rspec/scaffold/scaffold_generator.rb +29 -19
- data/lib/generators/rspec/scaffold/templates/api_controller_spec.rb +0 -36
- data/lib/generators/rspec/scaffold/templates/api_request_spec.rb +131 -0
- data/lib/generators/rspec/scaffold/templates/controller_spec.rb +0 -48
- data/lib/generators/rspec/scaffold/templates/edit_spec.rb +1 -5
- data/lib/generators/rspec/scaffold/templates/index_spec.rb +2 -2
- data/lib/generators/rspec/scaffold/templates/new_spec.rb +1 -5
- data/lib/generators/rspec/scaffold/templates/request_spec.rb +137 -0
- data/lib/generators/rspec/scaffold/templates/routing_spec.rb +8 -10
- data/lib/generators/rspec/scaffold/templates/show_spec.rb +1 -1
- data/lib/generators/rspec/system/system_generator.rb +14 -16
- data/lib/generators/rspec/view/view_generator.rb +2 -2
- data/lib/rspec-rails.rb +13 -16
- data/lib/rspec/rails/adapters.rb +11 -76
- data/lib/rspec/rails/configuration.rb +81 -37
- data/lib/rspec/rails/example.rb +2 -0
- data/lib/rspec/rails/example/channel_example_group.rb +93 -0
- data/lib/rspec/rails/example/controller_example_group.rb +4 -4
- data/lib/rspec/rails/example/feature_example_group.rb +6 -26
- data/lib/rspec/rails/example/helper_example_group.rb +2 -9
- data/lib/rspec/rails/example/mailbox_example_group.rb +80 -0
- data/lib/rspec/rails/example/mailer_example_group.rb +2 -2
- data/lib/rspec/rails/example/rails_example_group.rb +1 -1
- data/lib/rspec/rails/example/request_example_group.rb +1 -4
- data/lib/rspec/rails/example/system_example_group.rb +29 -12
- data/lib/rspec/rails/example/view_example_group.rb +38 -27
- data/lib/rspec/rails/extensions/active_record/proxy.rb +5 -10
- data/lib/rspec/rails/feature_check.rb +12 -29
- data/lib/rspec/rails/file_fixture_support.rb +9 -11
- data/lib/rspec/rails/fixture_file_upload_support.rb +33 -17
- data/lib/rspec/rails/fixture_support.rb +34 -32
- data/lib/rspec/rails/matchers.rb +10 -0
- data/lib/rspec/rails/matchers/action_cable.rb +65 -0
- data/lib/rspec/rails/matchers/action_cable/have_broadcasted_to.rb +170 -0
- data/lib/rspec/rails/matchers/action_cable/have_streams.rb +58 -0
- data/lib/rspec/rails/matchers/action_mailbox.rb +73 -0
- data/lib/rspec/rails/matchers/active_job.rb +169 -21
- data/lib/rspec/rails/matchers/base_matcher.rb +5 -10
- data/lib/rspec/rails/matchers/have_enqueued_mail.rb +52 -28
- data/lib/rspec/rails/matchers/have_http_status.rb +11 -7
- data/lib/rspec/rails/matchers/have_rendered.rb +1 -0
- data/lib/rspec/rails/matchers/relation_match_array.rb +1 -1
- data/lib/rspec/rails/matchers/routing_matchers.rb +12 -12
- data/lib/rspec/rails/tasks/rspec.rake +7 -17
- data/lib/rspec/rails/vendor/capybara.rb +10 -15
- data/lib/rspec/rails/version.rb +1 -1
- data/lib/rspec/rails/view_path_builder.rb +1 -1
- data/lib/rspec/rails/view_rendering.rb +15 -4
- metadata +49 -37
- metadata.gz.sig +0 -0
- data/lib/generators/rspec/observer/observer_generator.rb +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c53afd5a91c31c506c0f517b1056749e33a3c7849f856799763363084a11357
|
4
|
+
data.tar.gz: f49ce49acf4acc30f23e1126844fa29a15b71280b7222e8f62c956bd2b45c2bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e1bbb19ac83f61374ed1620ac2b1d1498c5d563c3e677e19c23f0ab0fa961d6fac103c3792b4543c47d83fb862356c3b7b04433ed3fcbf6be64872d799db3f9
|
7
|
+
data.tar.gz: cf818e3dfbec148def3f7a3e376e5db1316ed5e152ee9beb394ede76291e7671f6a412dfc08b469efa585fe79f17804d7538bdab15a35bc9b6444b7b5d5bac54
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/Capybara.md
CHANGED
@@ -1,58 +1,19 @@
|
|
1
1
|
rspec-rails supports integration with Capybara out of the box by adding
|
2
2
|
its Capybara::DSL (visit/page) and Capybara::RSpecMatchers to the
|
3
|
-
examples in the applicable directories
|
4
|
-
Capybara 1.x and Capybara >= 2.x.
|
3
|
+
examples in the applicable directories.
|
5
4
|
|
6
5
|
## Capybara::DSL
|
7
6
|
|
8
7
|
Adds the `visit` and `page` methods, which work together to simulate a
|
9
8
|
GET request and provide access to the result (via `page`).
|
10
9
|
|
11
|
-
## Capybara::RSpecMatchers
|
12
|
-
|
13
|
-
Exposes matchers used to specify expected HTML content (e.g. `should_not have_selector` will work correctly).
|
14
|
-
|
15
|
-
## Capybara 1.x
|
16
|
-
|
17
|
-
Capybara::DSL is added to examples in:
|
18
|
-
|
19
|
-
* spec/requests # included by Capybara
|
20
|
-
* spec/controllers
|
21
|
-
|
22
|
-
Capybara::RSpecMatchers is added to examples in:
|
23
|
-
|
24
|
-
* spec/requests # included by Capybara
|
25
|
-
* spec/controllers
|
26
|
-
* spec/views
|
27
|
-
* spec/helpers
|
28
|
-
* spec/mailers
|
29
|
-
|
30
|
-
## Capybara 2.0
|
31
|
-
|
32
|
-
To use Capybara 2.0, you need rspec-rails-2.11.1 or greater.
|
33
|
-
|
34
10
|
Capybara::DSL is added to examples in:
|
35
11
|
|
36
12
|
* spec/features
|
37
13
|
|
38
|
-
Capybara::RSpecMatchers
|
39
|
-
|
40
|
-
* spec/features
|
41
|
-
* spec/controllers
|
42
|
-
* spec/views
|
43
|
-
* spec/helpers
|
44
|
-
* spec/mailers
|
45
|
-
|
46
|
-
## Upgrading to Capybara-2.0
|
47
|
-
|
48
|
-
Many users have been confused by the co-existence of the the
|
49
|
-
Capybara::DSL (visit/page) alongside the rack-test DSL
|
50
|
-
(get|post|put|delete|head/response.body) in examples in spec/requests
|
51
|
-
and spec/controllers. As of rspec-rails-2.11.1 and capybara-2.0.0.beta2, these
|
52
|
-
are separated as follows:
|
14
|
+
## Capybara::RSpecMatchers
|
53
15
|
|
54
|
-
|
55
|
-
* rack-test DSL is included in `spec/requests` and `spec/controllers`
|
16
|
+
Exposes matchers used to specify expected HTML content (e.g. `should_not have_selector` will work correctly).
|
56
17
|
|
57
18
|
Capybara::RSpecMatchers is added to examples in:
|
58
19
|
|
@@ -62,16 +23,6 @@ Capybara::RSpecMatchers is added to examples in:
|
|
62
23
|
* spec/helpers
|
63
24
|
* spec/mailers
|
64
25
|
|
65
|
-
|
66
|
-
spec/requests you'll want to move those examples to spec/features and
|
67
|
-
they should just work.
|
68
|
-
|
69
|
-
If you want to leave those examples in spec/requests, you can include
|
70
|
-
Capybara::DSL in those examples yourself as follows, but this is
|
71
|
-
absolutely not recommended as you will be overriding the intended
|
72
|
-
behavior and accepting the risks associated with doing so:
|
26
|
+
## Upgrading to Capybara-3.x
|
73
27
|
|
74
|
-
|
75
|
-
RSpec.configure do |c|
|
76
|
-
c.include Capybara::DSL, :file_path => "spec/requests"
|
77
|
-
end
|
28
|
+
Consult the official [Upgrading from Capybara 2.x to 3.x](https://github.com/teamcapybara/capybara/blob/master/UPGRADING.md#upgrading-from-capybara-2x-to-3x) guide.
|
data/Changelog.md
CHANGED
@@ -1,14 +1,148 @@
|
|
1
1
|
### Development
|
2
|
-
[Full Changelog](
|
2
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.0.1...5-0-maintenance)
|
3
|
+
|
4
|
+
### 5.0.1 / 2021-03-18
|
5
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.0.0...v5.0.1)
|
6
|
+
|
7
|
+
Bug Fixes:
|
8
|
+
|
9
|
+
* Limit multibyte example descriptions when used in system tests for #method_name
|
10
|
+
which ends up as screenshot names etc. (@y-yagi, #2405, #2487)
|
11
|
+
|
12
|
+
### 5.0.0 / 2021-03-09
|
13
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v4.1.1...v5.0.0)
|
14
|
+
|
15
|
+
Enhancements:
|
16
|
+
|
17
|
+
* Support new #file_fixture_path and new fixture test support code. (Jon Rowe, #2398)
|
18
|
+
* Support for Rails 6.1. (Benoit Tigeot, Jon Rowe, Phil Pirozhkov, and more #2398)
|
19
|
+
|
20
|
+
Breaking Changes:
|
21
|
+
|
22
|
+
* Drop support for Rails below 5.2.
|
23
|
+
|
24
|
+
### 4.1.1 / 2021-03-09
|
25
|
+
|
26
|
+
Bug Fixes:
|
27
|
+
|
28
|
+
* Remove generated specs when destroying a generated controller.
|
29
|
+
(@Naokimi, #2475)
|
30
|
+
|
31
|
+
### 4.1.0 / 2021-03-06
|
32
|
+
|
33
|
+
Enhancements:
|
34
|
+
|
35
|
+
* Issue a warning when using job matchers with `#at` mis-match on `usec` precision.
|
36
|
+
(Jon Rowe, #2350)
|
37
|
+
* Generated request specs now have a bare `_spec` suffix instead of `request_spec`.
|
38
|
+
(Eloy Espinaco, Luka Lüdicke, #2355, #2356, #2378)
|
39
|
+
* Generated scaffold now includes engine route helpers when inside a mountable engine.
|
40
|
+
(Andrew W. Lee, #2372)
|
41
|
+
* Improve request spec "controller" scafold when no action is specified.
|
42
|
+
(Thomas Hareau, #2399)
|
43
|
+
* Introduce testing snippets concept (Phil Pirozhkov, Benoit Tigeot, #2423)
|
44
|
+
* Prevent collisions with `let(:name)` for Rails 6.1 and `let(:method_name)` on older
|
45
|
+
Rails. (Benoit Tigeot, #2461)
|
46
|
+
|
47
|
+
### 4.0.2 / 2020-12-26
|
48
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v4.0.1...v4.0.2)
|
49
|
+
|
50
|
+
Bug Fixes:
|
51
|
+
|
52
|
+
* Indent all extra failure lines output from system specs. (Alex Robbin, #2321)
|
53
|
+
* Generated request spec for update now uses the correct let. (Paul Hanyzewski, #2344)
|
54
|
+
* Return `true`/`false` from predicate methods in config rather than raw values.
|
55
|
+
(Phil Pirozhkov, Jon Rowe, #2353, #2354)
|
56
|
+
* Remove old #fixture_path feature detection code which broke under newer Rails.
|
57
|
+
(Koen Punt, Jon Rowe, #2370)
|
58
|
+
* Fix an error when `use_active_record` is `false` (Phil Pirozhkov, #2423)
|
59
|
+
|
60
|
+
### 4.0.1 / 2020-05-16
|
61
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v4.0.0...v4.0.1)
|
62
|
+
|
63
|
+
Bug Fixes:
|
64
|
+
|
65
|
+
* Remove warning when calling `driven_by` in system specs. (Aubin Lorieux, #2302)
|
66
|
+
* Fix comparison of times for `#at` in job matchers. (Jon Rowe, Markus Doits, #2304)
|
67
|
+
* Allow `have_enqueued_mail` to match when a sub class of `ActionMailer::DeliveryJob`
|
68
|
+
is set using `<Class>.delivery_job=`. (Atsushi Yoshida #2305)
|
69
|
+
* Restore Ruby 2.2.x compatibility. (Jon Rowe, #2332)
|
70
|
+
* Add `required_ruby_version` to gem spec. (Marc-André Lafortune, #2319, #2338)
|
71
|
+
|
72
|
+
### 4.0.0 / 2020-03-24
|
73
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.9.1...v4.0.0)
|
74
|
+
|
75
|
+
Enhancements:
|
76
|
+
|
77
|
+
* Adds support for Rails 6. (Penelope Phippen, Benoit Tigeot, Jon Rowe, #2071)
|
78
|
+
* Adds support for JRuby on Rails 5.2 and 6
|
79
|
+
* Add support for parameterised mailers (Ignatius Reza, #2125)
|
80
|
+
* Add ActionMailbox spec helpers and test type (James Dabbs, #2119)
|
81
|
+
* Add ActionCable spec helpers and test type (Vladimir Dementyev, #2113)
|
82
|
+
* Add support for partial args when using `have_enqueued_mail`
|
83
|
+
(Ignatius Reza, #2118, #2125)
|
84
|
+
* Add support for time arguments for `have_enqueued_job` (@alpaca-tc, #2157)
|
85
|
+
* Improve path parsing in view specs render options. (John Hawthorn, #2115)
|
86
|
+
* Add routing spec template as an option for generating controller specs.
|
87
|
+
(David Revelo, #2134)
|
88
|
+
* Add argument matcher support to `have_enqueued_*` matchers. (Phil Pirozhkov, #2206)
|
89
|
+
* Switch generated templates to use ruby 1.9 hash keys. (Tanbir Hasan, #2224)
|
90
|
+
* Add `have_been_performed`/`have_performed_job`/`perform_job` ActiveJob
|
91
|
+
matchers (Isaac Seymour, #1785)
|
92
|
+
* Default to generating request specs rather than controller specs when
|
93
|
+
generating a controller (Luka Lüdicke, #2222)
|
94
|
+
* Allow `ActiveJob` matchers `#on_queue` modifier to take symbolic queue names. (Nils Sommer, #2283)
|
95
|
+
* The scaffold generator now generates request specs in preference to controller specs.
|
96
|
+
(Luka Lüdicke, #2288)
|
97
|
+
* Add configuration option to disable ActiveRecord. (Jon Rowe, Phil Pirozhkov, Hermann Mayer, #2266)
|
98
|
+
* Set `ActionDispatch::SystemTesting::Server.silence_puma = true` when running system specs.
|
99
|
+
(ta1kt0me, Benoit Tigeot, #2289)
|
100
|
+
|
101
|
+
Bug Fixes:
|
102
|
+
|
103
|
+
* `EmptyTemplateHandler.call` now needs to support an additional argument in
|
104
|
+
Rails 6. (Pavel Rosický, #2089)
|
105
|
+
* Suppress warning from `SQLite3Adapter.represent_boolean_as_integer` which is
|
106
|
+
deprecated. (Pavel Rosický, #2092)
|
107
|
+
* `ActionView::Template#formats` has been deprecated and replaced by
|
108
|
+
`ActionView::Template#format`(Seb Jacobs, #2100)
|
109
|
+
* Replace `before_teardown` as well as `after_teardown` to ensure screenshots
|
110
|
+
are generated correctly. (Jon Rowe, #2164)
|
111
|
+
* `ActionView::FixtureResolver#hash` has been renamed to `ActionView::FixtureResolver#data`.
|
112
|
+
(Penelope Phippen, #2076)
|
113
|
+
* Prevent `driven_by(:selenium)` being called due to hook precedence.
|
114
|
+
(Takumi Shotoku, #2188)
|
115
|
+
* Prevent a `WrongScopeError` being thrown during loading fixtures on Rails
|
116
|
+
6.1 development version. (Edouard Chin, #2215)
|
117
|
+
* Fix Mocha mocking support with `should`. (Phil Pirozhkov, #2256)
|
118
|
+
* Restore previous conditional check for setting `default_url_options` in feature
|
119
|
+
specs, prevents a `NoMethodError` in some scenarios. (Eugene Kenny, #2277)
|
120
|
+
* Allow changing `ActiveJob::Base.queue_adapter` inside a system spec.
|
121
|
+
(Jonathan Rochkind, #2242)
|
122
|
+
* `rails generate generator` command now creates related spec file (Joel Azemar, #2217)
|
123
|
+
* Relax upper `capybara` version constraint to allow for Capybara 3.x (Phil Pirozhkov, #2281)
|
124
|
+
* Clear ActionMailer test mailbox after each example (Benoit Tigeot, #2293)
|
125
|
+
|
126
|
+
Breaking Changes:
|
127
|
+
|
128
|
+
* Drops support for Rails below 5.0
|
129
|
+
* Drops support for Ruby below 2.3
|
130
|
+
|
131
|
+
### 3.9.1 / 2020-03-10
|
132
|
+
[Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.9.0...v3.9.1)
|
133
|
+
|
134
|
+
Bug Fixes:
|
135
|
+
|
136
|
+
* Add missing require for have_enqueued_mail matcher. (Ignatius Reza, #2117)
|
3
137
|
|
4
138
|
### 3.9.0 / 2019-10-08
|
5
|
-
[Full Changelog](
|
139
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.8.3...v3.9.0)
|
6
140
|
|
7
141
|
Enhancements
|
8
142
|
|
9
143
|
* Use `__dir__` instead of `__FILE__` in generated `rails_helper.rb` where
|
10
144
|
supported. (OKURA Masafumi, #2048)
|
11
|
-
* Add `
|
145
|
+
* Add `have_enqueued_mail` matcher as a "super" matcher to the `ActiveJob` matchers
|
12
146
|
making it easier to match on `ActiveJob` delivered emails. (Joel Lubrano, #2047)
|
13
147
|
* Add generator for system specs on Rails 5.1 and above. (Andrzej Sliwa, #1933)
|
14
148
|
* Add generator for generator specs. (@ConSou, #2085)
|
@@ -17,11 +151,11 @@ Enhancements
|
|
17
151
|
Bug Fixes:
|
18
152
|
|
19
153
|
* Make the `ActiveJob` matchers fail when multiple jobs are queued for negated
|
20
|
-
matches. e.g. `expect { job; job; }.to_not have_enqueued_job
|
154
|
+
matches. e.g. `expect { job; job; }.to_not have_enqueued_job`.
|
21
155
|
(Emric Istanful, #2069)
|
22
156
|
|
23
157
|
### 3.8.3 / 2019-10-03
|
24
|
-
[Full Changelog](
|
158
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.8.2...v3.8.3)
|
25
159
|
|
26
160
|
Bug Fixes:
|
27
161
|
|
@@ -31,7 +165,7 @@ Bug Fixes:
|
|
31
165
|
error message. (Kevin Kuchta, #2096)
|
32
166
|
|
33
167
|
### 3.8.2 / 2019-01-13
|
34
|
-
[Full Changelog](
|
168
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.8.1...v3.8.2)
|
35
169
|
|
36
170
|
Bug Fixes:
|
37
171
|
|
@@ -45,7 +179,7 @@ Bug Fixes:
|
|
45
179
|
(Emric Istanful, #2069)
|
46
180
|
|
47
181
|
### 3.8.1 / 2018-10-23
|
48
|
-
[Full Changelog](
|
182
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.8.0...v3.8.1)
|
49
183
|
|
50
184
|
Bug Fixes:
|
51
185
|
|
@@ -57,7 +191,7 @@ Bug Fixes:
|
|
57
191
|
matchers de-serialize arguments. (@aymeric-ledorze, #2036)
|
58
192
|
|
59
193
|
### 3.8.0 / 2018-08-04
|
60
|
-
[Full Changelog](
|
194
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.7.2...v3.8.0)
|
61
195
|
|
62
196
|
Enhancements:
|
63
197
|
|
@@ -84,7 +218,7 @@ Bug Fixes:
|
|
84
218
|
|
85
219
|
|
86
220
|
### 3.7.2 / 2017-11-20
|
87
|
-
[Full Changelog](
|
221
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.7.1...v3.7.2)
|
88
222
|
|
89
223
|
Bug Fixes:
|
90
224
|
|
@@ -93,14 +227,14 @@ Bug Fixes:
|
|
93
227
|
(Matt Brictson, #1907)
|
94
228
|
|
95
229
|
### 3.7.1 / 2017-10-18
|
96
|
-
[Full Changelog](
|
230
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.7.0...v3.7.1)
|
97
231
|
|
98
232
|
Bug Fixes:
|
99
233
|
|
100
234
|
* Prevent system test integration loading when puma or capybara are missing (Sam Phippen, #1884)
|
101
235
|
|
102
236
|
### 3.7.0 / 2017-10-17
|
103
|
-
[Full Changelog](
|
237
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.6.0...v3.7.0)
|
104
238
|
|
105
239
|
Bug Fixes:
|
106
240
|
|
@@ -116,7 +250,7 @@ Enhancements:
|
|
116
250
|
* Integrate with `ActionDispatch::SystemTestCase`. (Sam Phippen, #1813)
|
117
251
|
|
118
252
|
### 3.6.0 / 2017-05-04
|
119
|
-
[Full Changelog](
|
253
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.6.0.beta2...v3.6.0)
|
120
254
|
|
121
255
|
Enhancements:
|
122
256
|
|
@@ -128,7 +262,7 @@ Bug Fixes:
|
|
128
262
|
on Rails 3.x and 4.x. (Yuji Nakayama, #1710)
|
129
263
|
|
130
264
|
### 3.6.0.beta2 / 2016-12-12
|
131
|
-
[Full Changelog](
|
265
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.6.0.beta1...v3.6.0.beta2)
|
132
266
|
|
133
267
|
Enhancements:
|
134
268
|
|
@@ -138,7 +272,7 @@ Enhancements:
|
|
138
272
|
(Kevin Glowacz, #1795)
|
139
273
|
|
140
274
|
### 3.6.0.beta1 / 2016-10-09
|
141
|
-
[Full Changelog](
|
275
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.2...v3.6.0.beta1)
|
142
276
|
|
143
277
|
Enhancements:
|
144
278
|
|
@@ -148,7 +282,7 @@ Enhancements:
|
|
148
282
|
* Add support for generating scaffolds for api app specs. (Krzysztof Zych, #1685)
|
149
283
|
|
150
284
|
### 3.5.2 / 2016-08-26
|
151
|
-
[Full Changelog](
|
285
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.1...v3.5.2)
|
152
286
|
|
153
287
|
Bug Fixes:
|
154
288
|
|
@@ -158,7 +292,7 @@ Bug Fixes:
|
|
158
292
|
(Wojciech Wnętrzak, #1684)
|
159
293
|
|
160
294
|
### 3.5.1 / 2016-07-08
|
161
|
-
[Full Changelog](
|
295
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0...v3.5.1)
|
162
296
|
|
163
297
|
Bug Fixes:
|
164
298
|
|
@@ -167,12 +301,12 @@ Bug Fixes:
|
|
167
301
|
is defined. (#1660, Betesh).
|
168
302
|
|
169
303
|
### 3.5.0 / 2016-07-01
|
170
|
-
[Full Changelog](
|
304
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0.beta4...v3.5.0)
|
171
305
|
|
172
306
|
**No user facing changes since beta4**
|
173
307
|
|
174
308
|
### 3.5.0.beta4 / 2016-06-05
|
175
|
-
[Full Changelog](
|
309
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0.beta3...v3.5.0.beta4)
|
176
310
|
|
177
311
|
Enhancements:
|
178
312
|
|
@@ -190,7 +324,7 @@ Bug fixes:
|
|
190
324
|
(Jon Rowe, #1623).
|
191
325
|
|
192
326
|
### 3.5.0.beta3 / 2016-04-02
|
193
|
-
[Full Changelog](
|
327
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0.beta2...v3.5.0.beta3)
|
194
328
|
|
195
329
|
Enhancements:
|
196
330
|
|
@@ -202,7 +336,7 @@ Bug fixes:
|
|
202
336
|
(Jon Rowe, Benjamin Quorning, #1580)
|
203
337
|
|
204
338
|
### 3.5.0.beta2 / 2016-03-10
|
205
|
-
[Full Changelog](
|
339
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0.beta1...v3.5.0.beta2)
|
206
340
|
|
207
341
|
Enhancements:
|
208
342
|
|
@@ -216,7 +350,7 @@ Bug fixes:
|
|
216
350
|
(Alwahsh, #1550)
|
217
351
|
|
218
352
|
### 3.5.0.beta1 / 2016-02-06
|
219
|
-
[Full Changelog](
|
353
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.4.2...v3.5.0.beta1)
|
220
354
|
|
221
355
|
Enhancements:
|
222
356
|
|
@@ -237,7 +371,7 @@ Bug fixes:
|
|
237
371
|
adapter. (Wojciech Wnętrzak, #1489)
|
238
372
|
|
239
373
|
### 3.4.2 / 2016-02-02
|
240
|
-
[Full Changelog](
|
374
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.4.1...v3.4.2)
|
241
375
|
|
242
376
|
Bug Fixes:
|
243
377
|
|
@@ -245,7 +379,7 @@ Bug Fixes:
|
|
245
379
|
regression from #1535. (Andrew White, #1544)
|
246
380
|
|
247
381
|
### 3.4.1 / 2016-01-25
|
248
|
-
[Full Changelog](
|
382
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.4.0...v3.4.1)
|
249
383
|
|
250
384
|
Bug Fixes:
|
251
385
|
|
@@ -253,7 +387,7 @@ Bug Fixes:
|
|
253
387
|
parameters for Rails version `4.2.5.1`. (Andrew White, Sam Phippen, #1535)
|
254
388
|
|
255
389
|
### 3.4.0 / 2015-11-11
|
256
|
-
[Full Changelog](
|
390
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.3.3...v3.4.0)
|
257
391
|
|
258
392
|
Enhancements:
|
259
393
|
|
@@ -274,7 +408,7 @@ Bug Fixes:
|
|
274
408
|
exclusion pattern for its own `lib` code. (Jam Black, #1439)
|
275
409
|
|
276
410
|
### 3.3.3 / 2015-07-15
|
277
|
-
[Full Changelog](
|
411
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.3.2...v3.3.3)
|
278
412
|
|
279
413
|
Bug Fixes:
|
280
414
|
|
@@ -282,7 +416,7 @@ Bug Fixes:
|
|
282
416
|
including symbols. (Dan Kohn, #1414)
|
283
417
|
|
284
418
|
### 3.3.2 / 2015-06-18
|
285
|
-
[Full Changelog](
|
419
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.3.1...v3.3.2)
|
286
420
|
|
287
421
|
Bug Fixes:
|
288
422
|
|
@@ -292,7 +426,7 @@ Bug Fixes:
|
|
292
426
|
abstract AR class. (Jon Rowe, #1396)
|
293
427
|
|
294
428
|
### 3.3.1 / 2015-06-14
|
295
|
-
[Full Changelog](
|
429
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.3.0...v3.3.1)
|
296
430
|
|
297
431
|
Bug Fixes:
|
298
432
|
|
@@ -300,7 +434,7 @@ Bug Fixes:
|
|
300
434
|
trigger internal errors in rails. (Myron Marston, Aaron Kromer, #1395)
|
301
435
|
|
302
436
|
### 3.3.0 / 2015-06-12
|
303
|
-
[Full Changelog](
|
437
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.2.3...v3.3.0)
|
304
438
|
|
305
439
|
Enhancements:
|
306
440
|
|
@@ -308,17 +442,17 @@ Enhancements:
|
|
308
442
|
* Improve controller and routing spec calls to `routes` by using `yield`
|
309
443
|
instead of `call`. (Anton Davydov, #1308)
|
310
444
|
* Add support for `ActiveJob` specs as standard `RSpec::Rails::RailsExampleGoup`s
|
311
|
-
via both
|
445
|
+
via both `type: :job` and inferring type from spec directory `spec/jobs`.
|
312
446
|
(Gabe Martin-Dempesy, #1361)
|
313
447
|
* Include `RSpec::Rails::FixtureSupport` into example groups using metadata
|
314
|
-
|
448
|
+
`use_fixtures: true`. (Aaron Kromer, #1372)
|
315
449
|
* Include `rspec:request` generator for generating request specs; this is an
|
316
450
|
alias of `rspec:integration` (Aaron Kromer, #1378)
|
317
451
|
* Update `rails_helper` generator with a default check to abort the spec run
|
318
452
|
when the Rails environment is production. (Aaron Kromer, #1383)
|
319
453
|
|
320
454
|
### 3.2.3 / 2015-06-06
|
321
|
-
[Full Changelog](
|
455
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.2.2...v3.2.3)
|
322
456
|
|
323
457
|
Bug Fixes:
|
324
458
|
|
@@ -326,7 +460,7 @@ Bug Fixes:
|
|
326
460
|
on Rails 3.x and 4.0 (Aaron Kromer, #1388)
|
327
461
|
|
328
462
|
### 3.2.2 / 2015-06-03
|
329
|
-
[Full Changelog](
|
463
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.2.1...v3.2.2)
|
330
464
|
|
331
465
|
Bug Fixes:
|
332
466
|
|
@@ -339,7 +473,7 @@ Bug Fixes:
|
|
339
473
|
when loading rspec-rails after a spec has been created. (Aaron Kromer, #1372)
|
340
474
|
|
341
475
|
### 3.2.1 / 2015-02-23
|
342
|
-
[Full Changelog](
|
476
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.2.0...v3.2.1)
|
343
477
|
|
344
478
|
Bug Fixes:
|
345
479
|
|
@@ -351,7 +485,7 @@ Bug Fixes:
|
|
351
485
|
Ruby < 2.2 (Aaron Kromer, #1320)
|
352
486
|
|
353
487
|
### 3.2.0 / 2015-02-03
|
354
|
-
[Full Changelog](
|
488
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.1.0...v3.2.0)
|
355
489
|
|
356
490
|
Enhancements:
|
357
491
|
|
@@ -376,7 +510,7 @@ Bug Fixes:
|
|
376
510
|
in Rails 4.1 and 4.2. (Aaron Kromer, #1295)
|
377
511
|
|
378
512
|
### 3.1.0 / 2014-09-04
|
379
|
-
[Full Changelog](
|
513
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.2...v3.1.0)
|
380
514
|
|
381
515
|
Enhancements:
|
382
516
|
|
@@ -395,7 +529,7 @@ Bug Fixes:
|
|
395
529
|
* Fix controller route lookup for Rails 4.2. (Tomohiro Hashidate, #1142)
|
396
530
|
|
397
531
|
### 3.0.2 / 2014-07-21
|
398
|
-
[Full Changelog](
|
532
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.1...v3.0.2)
|
399
533
|
|
400
534
|
Bug Fixes:
|
401
535
|
|
@@ -404,14 +538,14 @@ Bug Fixes:
|
|
404
538
|
* Standardize controller spec template style. (Thomas Kriechbaumer, #1122)
|
405
539
|
|
406
540
|
### 3.0.1 / 2014-06-02
|
407
|
-
[Full Changelog](
|
541
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.0...v3.0.1)
|
408
542
|
|
409
543
|
Bug Fixes:
|
410
544
|
|
411
545
|
* Fix missing require in `rails g rspec:install`. (Sam Phippen, #1058)
|
412
546
|
|
413
547
|
### 3.0.0 / 2014-06-01
|
414
|
-
[Full Changelog](
|
548
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.0.rc1...v3.0.0)
|
415
549
|
|
416
550
|
Enhancements:
|
417
551
|
|
@@ -424,7 +558,7 @@ Bug Fixes:
|
|
424
558
|
* Fix an issue with fixture support when `ActiveRecord` isn't loaded. (Jon Rowe)
|
425
559
|
|
426
560
|
### 3.0.0.rc1 / 2014-05-18
|
427
|
-
[Full Changelog](
|
561
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.0.beta2...v3.0.0.rc1)
|
428
562
|
|
429
563
|
Breaking Changes for 3.0.0:
|
430
564
|
|
@@ -452,7 +586,7 @@ Enhancements:
|
|
452
586
|
Bug Fixes:
|
453
587
|
|
454
588
|
* Fix an inconsistency in the generated scaffold specs for a controller. (Andy Waite)
|
455
|
-
* Ensure `config.before(:all, :
|
589
|
+
* Ensure `config.before(:all, type: <type>)` hooks run before groups
|
456
590
|
of the given type, even when the type is inferred by the file
|
457
591
|
location. (Jon Rowe, Myron Marston)
|
458
592
|
* Switch to parsing params with `Rack::Utils::parse_nested_query` to match Rails.
|
@@ -460,7 +594,7 @@ Bug Fixes:
|
|
460
594
|
* Fix incorrect namespacing of anonymous controller routes. (Aaron Kromer)
|
461
595
|
|
462
596
|
### 3.0.0.beta2 / 2014-02-17
|
463
|
-
[Full Changelog](
|
597
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.0.beta1...v3.0.0.beta2)
|
464
598
|
|
465
599
|
Breaking Changes for 3.0.0:
|
466
600
|
|
@@ -488,7 +622,7 @@ Bug Fixes:
|
|
488
622
|
* Require `rspec/collection_matchers` when `rspec/rails` is required. (Yuji Nakayama)
|
489
623
|
|
490
624
|
### 3.0.0.beta1 / 2013-11-07
|
491
|
-
[Full Changelog](
|
625
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.99.0...v3.0.0.beta1)
|
492
626
|
|
493
627
|
Breaking Changes for 3.0.0:
|
494
628
|
|
@@ -496,12 +630,12 @@ Breaking Changes for 3.0.0:
|
|
496
630
|
(Andy Lindeman)
|
497
631
|
|
498
632
|
### 2.99.0 / 2014-06-01
|
499
|
-
[Full Changelog](
|
633
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.99.0.rc1...v2.99.0)
|
500
634
|
|
501
635
|
No changes. Just taking it out of pre-release.
|
502
636
|
|
503
637
|
### 2.99.0.rc1 / 2014-05-18
|
504
|
-
[Full Changelog](
|
638
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.99.0.beta2...v2.99.0.rc1)
|
505
639
|
|
506
640
|
Deprecations
|
507
641
|
|
@@ -518,7 +652,7 @@ Deprecations
|
|
518
652
|
class passed to `describe`. (Myron Marston)
|
519
653
|
|
520
654
|
### 2.99.0.beta2 / 2014-02-17
|
521
|
-
[Full Changelog](
|
655
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.99.0.beta1...v2.99.0.beta2)
|
522
656
|
|
523
657
|
Deprecations:
|
524
658
|
|
@@ -536,7 +670,7 @@ Bug Fixes:
|
|
536
670
|
is not present. (Jon Rowe)
|
537
671
|
|
538
672
|
### 2.99.0.beta1 / 2013-11-07
|
539
|
-
[Full Changelog](
|
673
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.14.0...v2.99.0.beta1)
|
540
674
|
|
541
675
|
Deprecations:
|
542
676
|
|
@@ -558,7 +692,7 @@ Bug Fixes:
|
|
558
692
|
in all of `rails` to use `rspec-rails`. (John Firebaugh)
|
559
693
|
|
560
694
|
### 2.14.1 / 2013-12-29
|
561
|
-
[full changelog](
|
695
|
+
[full changelog](https://github.com/rspec/rspec-rails/compare/v2.14.0...v2.14.1)
|
562
696
|
|
563
697
|
Bug Fixes:
|
564
698
|
|
@@ -573,7 +707,7 @@ Bug Fixes:
|
|
573
707
|
* Use `__send__` rather than `send` to prevent naming collisions (Bradley Schaefer)
|
574
708
|
|
575
709
|
### 2.14.0 / 2013-07-06
|
576
|
-
[Full Changelog](
|
710
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.14.0.rc1...v2.14.0)
|
577
711
|
|
578
712
|
Bug fixes
|
579
713
|
|
@@ -585,7 +719,7 @@ Bug fixes
|
|
585
719
|
Rails 4. (Andy Lindeman)
|
586
720
|
|
587
721
|
### 2.14.0.rc1 / 2013-05-27
|
588
|
-
[Full Changelog](
|
722
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.13.2...v2.14.0.rc1)
|
589
723
|
|
590
724
|
Enhancements
|
591
725
|
|
@@ -598,7 +732,7 @@ Bug fixes
|
|
598
732
|
spec/ directory. (Benjamin Fleischer)
|
599
733
|
|
600
734
|
### 2.13.2 / 2013-05-18
|
601
|
-
[Full Changelog](
|
735
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.13.1...v2.13.2)
|
602
736
|
|
603
737
|
Bug fixes
|
604
738
|
|
@@ -613,7 +747,7 @@ Enhancements
|
|
613
747
|
* Document how the spec/support directory works. (Sam Phippen)
|
614
748
|
|
615
749
|
### 2.13.1 / 2013-04-27
|
616
|
-
[Full Changelog](
|
750
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.13.0...v2.13.1)
|
617
751
|
|
618
752
|
Bug fixes
|
619
753
|
|
@@ -627,7 +761,7 @@ Bug fixes
|
|
627
761
|
* Fix spacing in the install generator template (Taiki ONO)
|
628
762
|
|
629
763
|
### 2.13.0 / 2013-02-23
|
630
|
-
[Full Changelog](
|
764
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.12.2...v2.13.0)
|
631
765
|
|
632
766
|
Enhancements
|
633
767
|
|
@@ -642,7 +776,7 @@ Enhancements
|
|
642
776
|
(Rudolf Schmidt)
|
643
777
|
|
644
778
|
### 2.12.2 / 2013-01-12
|
645
|
-
[Full Changelog](
|
779
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.12.1...v2.12.2)
|
646
780
|
|
647
781
|
Bug fixes
|
648
782
|
|
@@ -654,7 +788,7 @@ Bug fixes
|
|
654
788
|
Lindeman)
|
655
789
|
|
656
790
|
### 2.12.1 / 2013-01-07
|
657
|
-
[Full Changelog](
|
791
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.12.0...v2.12.1)
|
658
792
|
|
659
793
|
Bug fixes
|
660
794
|
|
@@ -669,7 +803,7 @@ Bug fixes
|
|
669
803
|
and generation of URLs from other contexts. (Andy Lindeman)
|
670
804
|
|
671
805
|
### 2.12.0 / 2012-11-12
|
672
|
-
[Full Changelog](
|
806
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.11.4...v2.12.0)
|
673
807
|
|
674
808
|
Enhancements
|
675
809
|
|
@@ -690,7 +824,7 @@ Bug fixes
|
|
690
824
|
* Failures message for `be_new_record` are more useful (Andy Lindeman)
|
691
825
|
|
692
826
|
### 2.11.4 / 2012-10-14
|
693
|
-
[Full Changelog](
|
827
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.11.0...v2.11.4)
|
694
828
|
|
695
829
|
Capybara-2.0 integration support:
|
696
830
|
|
@@ -698,13 +832,13 @@ Capybara-2.0 integration support:
|
|
698
832
|
* include Capybara::DSL and Capybara::RSpecMatchers in spec/features
|
699
833
|
|
700
834
|
See [https://github.com/jnicklas/capybara/pull/809](https://github.com/jnicklas/capybara/pull/809)
|
701
|
-
and [
|
835
|
+
and [https://rubydoc.info/gems/rspec-rails/file/Capybara.md](https://rubydoc.info/gems/rspec-rails/file/Capybara.md)
|
702
836
|
for background.
|
703
837
|
|
704
838
|
2.11.1, .2, .3 were yanked due to errant documentation.
|
705
839
|
|
706
840
|
### 2.11.0 / 2012-07-07
|
707
|
-
[Full Changelog](
|
841
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.10.1...v2.11.0)
|
708
842
|
|
709
843
|
Enhancements
|
710
844
|
|
@@ -723,7 +857,7 @@ Bug fixes
|
|
723
857
|
loads (Andy Lindeman)
|
724
858
|
|
725
859
|
### 2.10.1 / 2012-05-03
|
726
|
-
[Full Changelog](
|
860
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.10.0...v2.10.1)
|
727
861
|
|
728
862
|
Bug fixes
|
729
863
|
|
@@ -733,7 +867,7 @@ Bug fixes
|
|
733
867
|
Rails already does this (Jack Dempsey)
|
734
868
|
|
735
869
|
### 2.10.0 / 2012-05-03
|
736
|
-
[Full Changelog](
|
870
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.9.0...v2.10.0)
|
737
871
|
|
738
872
|
Bug fixes
|
739
873
|
|
@@ -748,7 +882,7 @@ Bug fixes
|
|
748
882
|
Strother)
|
749
883
|
|
750
884
|
### 2.9.0 / 2012-03-17
|
751
|
-
[Full Changelog](
|
885
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.8.1...v2.9.0)
|
752
886
|
|
753
887
|
Enhancements
|
754
888
|
|
@@ -763,7 +897,7 @@ Bug fixes
|
|
763
897
|
|
764
898
|
### 2.8.1 / 2012-01-04
|
765
899
|
|
766
|
-
[Full Changelog](
|
900
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.8.0...v2.8.1)
|
767
901
|
|
768
902
|
NOTE: there was a change in rails-3.2.0.rc2 which broke compatibility with
|
769
903
|
stub_model in rspec-rails. This release fixes that issue, but it means that
|
@@ -776,7 +910,7 @@ you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >=
|
|
776
910
|
|
777
911
|
### 2.8.0 / 2012-01-04
|
778
912
|
|
779
|
-
[Full Changelog](
|
913
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.8.0.rc2...v2.8.0)
|
780
914
|
|
781
915
|
* Enhancements
|
782
916
|
* Eliminate deprecation warnings in generated view specs in Rails 3.2
|
@@ -786,7 +920,7 @@ you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >=
|
|
786
920
|
|
787
921
|
### 2.8.0.rc2 / 2011-12-19
|
788
922
|
|
789
|
-
[Full Changelog](
|
923
|
+
[Full Changelog](https://github.com/rspec/rspec-mocks/compare/v2.8.0.rc1...v2.8.0.rc2)
|
790
924
|
|
791
925
|
* Enhancements
|
792
926
|
* Add session hash to generated controller specs (Thiago Almeida)
|
@@ -798,7 +932,7 @@ you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >=
|
|
798
932
|
|
799
933
|
### 2.8.0.rc1 / 2011-11-06
|
800
934
|
|
801
|
-
[Full Changelog](
|
935
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.7.0...v2.8.0.rc1)
|
802
936
|
|
803
937
|
* Enhancements
|
804
938
|
* Removed unnecessary "config.mock_with :rspec" from spec_helper.rb (Paul
|
@@ -814,7 +948,7 @@ you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >=
|
|
814
948
|
|
815
949
|
### 2.7.0 / 2011-10-16
|
816
950
|
|
817
|
-
[Full Changelog](
|
951
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.6.1...v2.7.0)
|
818
952
|
|
819
953
|
* Enhancements
|
820
954
|
* `ActiveRecord::Relation` can use the `=~` matcher (Andy Lindeman)
|
@@ -839,7 +973,7 @@ you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >=
|
|
839
973
|
|
840
974
|
### 2.6.1 / 2011-05-25
|
841
975
|
|
842
|
-
[Full Changelog](
|
976
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.6.0...v2.6.1)
|
843
977
|
|
844
978
|
This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
845
979
|
|
@@ -850,7 +984,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
850
984
|
|
851
985
|
### 2.6.0 / 2011-05-12
|
852
986
|
|
853
|
-
[Full Changelog](
|
987
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.5.0...v2.6.0)
|
854
988
|
|
855
989
|
* Enhancements
|
856
990
|
* rails 3 shortcuts for routing specs (Joe Fiorini)
|
@@ -874,7 +1008,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
874
1008
|
|
875
1009
|
### 2.5.0 / 2011-02-05
|
876
1010
|
|
877
|
-
[Full Changelog](
|
1011
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.4.1...v2.5.0)
|
878
1012
|
|
879
1013
|
* Enhancements
|
880
1014
|
* use index_helper instead of table_name when generating specs (Reza
|
@@ -889,7 +1023,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
889
1023
|
|
890
1024
|
### 2.4.1 / 2011-01-03
|
891
1025
|
|
892
|
-
[Full Changelog](
|
1026
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.4.0...v2.4.1)
|
893
1027
|
|
894
1028
|
* Bug fixes
|
895
1029
|
* fixed bug caused by including some Rails modules before RSpec's
|
@@ -897,12 +1031,12 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
897
1031
|
|
898
1032
|
### 2.4.0 / 2011-01-02
|
899
1033
|
|
900
|
-
[Full Changelog](
|
1034
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.3.1...v2.4.0)
|
901
1035
|
|
902
1036
|
* Enhancements
|
903
1037
|
* include ApplicationHelper in helper object in helper specs
|
904
1038
|
* include request spec extensions in files in spec/integration
|
905
|
-
* include controller spec extensions in groups that use :
|
1039
|
+
* include controller spec extensions in groups that use type: :controller
|
906
1040
|
* same for :model, :view, :helper, :mailer, :request, :routing
|
907
1041
|
|
908
1042
|
* Bug fixes
|
@@ -917,7 +1051,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
917
1051
|
|
918
1052
|
### 2.3.1 / 2010-12-16
|
919
1053
|
|
920
|
-
[Full Changelog](
|
1054
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.3.0...v2.3.1)
|
921
1055
|
|
922
1056
|
* Bug fixes
|
923
1057
|
* respond_to? correctly handles 2 args
|
@@ -925,7 +1059,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
925
1059
|
|
926
1060
|
### 2.3.0 / 2010-12-12
|
927
1061
|
|
928
|
-
[Full Changelog](
|
1062
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.2.1...v2.3.0)
|
929
1063
|
|
930
1064
|
* Changes
|
931
1065
|
* Generator no longer generates autotest/autodiscover.rb, as it is no longer
|
@@ -933,7 +1067,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
933
1067
|
|
934
1068
|
### 2.2.1 / 2010-12-01
|
935
1069
|
|
936
|
-
[Full Changelog](
|
1070
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.2.0...v2.2.1)
|
937
1071
|
|
938
1072
|
* Bug fixes
|
939
1073
|
* Depend on railties, activesupport, and actionpack instead of rails (Piotr
|
@@ -945,7 +1079,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
945
1079
|
|
946
1080
|
### 2.2.0 / 2010-11-28
|
947
1081
|
|
948
|
-
[Full Changelog](
|
1082
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.1.0...v2.2.0)
|
949
1083
|
|
950
1084
|
* Enhancements
|
951
1085
|
* Added stub_template in view specs
|
@@ -960,7 +1094,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
960
1094
|
|
961
1095
|
### 2.1.0 / 2010-11-07
|
962
1096
|
|
963
|
-
[Full Changelog](
|
1097
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.0.1...v2.1.0)
|
964
1098
|
|
965
1099
|
* Enhancements
|
966
1100
|
* Move errors_on to ActiveModel to support other AM-compliant ORMs
|
@@ -971,7 +1105,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
971
1105
|
|
972
1106
|
### 2.0.1 / 2010-10-15
|
973
1107
|
|
974
|
-
[Full Changelog](
|
1108
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.0.0...v2.0.1)
|
975
1109
|
|
976
1110
|
* Enhancements
|
977
1111
|
* Add option to not generate request spec (--skip-request-specs)
|