rspec-rails 3.9.1 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/Capybara.md +5 -54
- data/Changelog.md +207 -77
- 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 +9 -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 +47 -35
- 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,3 +1,133 @@
|
|
|
1
|
+
### Development
|
|
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
|
+
|
|
1
131
|
### 3.9.1 / 2020-03-10
|
|
2
132
|
[Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.9.0...v3.9.1)
|
|
3
133
|
|
|
@@ -6,13 +136,13 @@ Bug Fixes:
|
|
|
6
136
|
* Add missing require for have_enqueued_mail matcher. (Ignatius Reza, #2117)
|
|
7
137
|
|
|
8
138
|
### 3.9.0 / 2019-10-08
|
|
9
|
-
[Full Changelog](
|
|
139
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.8.3...v3.9.0)
|
|
10
140
|
|
|
11
141
|
Enhancements
|
|
12
142
|
|
|
13
143
|
* Use `__dir__` instead of `__FILE__` in generated `rails_helper.rb` where
|
|
14
144
|
supported. (OKURA Masafumi, #2048)
|
|
15
|
-
* Add `
|
|
145
|
+
* Add `have_enqueued_mail` matcher as a "super" matcher to the `ActiveJob` matchers
|
|
16
146
|
making it easier to match on `ActiveJob` delivered emails. (Joel Lubrano, #2047)
|
|
17
147
|
* Add generator for system specs on Rails 5.1 and above. (Andrzej Sliwa, #1933)
|
|
18
148
|
* Add generator for generator specs. (@ConSou, #2085)
|
|
@@ -21,11 +151,11 @@ Enhancements
|
|
|
21
151
|
Bug Fixes:
|
|
22
152
|
|
|
23
153
|
* Make the `ActiveJob` matchers fail when multiple jobs are queued for negated
|
|
24
|
-
matches. e.g. `expect { job; job; }.to_not have_enqueued_job
|
|
154
|
+
matches. e.g. `expect { job; job; }.to_not have_enqueued_job`.
|
|
25
155
|
(Emric Istanful, #2069)
|
|
26
156
|
|
|
27
157
|
### 3.8.3 / 2019-10-03
|
|
28
|
-
[Full Changelog](
|
|
158
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.8.2...v3.8.3)
|
|
29
159
|
|
|
30
160
|
Bug Fixes:
|
|
31
161
|
|
|
@@ -35,7 +165,7 @@ Bug Fixes:
|
|
|
35
165
|
error message. (Kevin Kuchta, #2096)
|
|
36
166
|
|
|
37
167
|
### 3.8.2 / 2019-01-13
|
|
38
|
-
[Full Changelog](
|
|
168
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.8.1...v3.8.2)
|
|
39
169
|
|
|
40
170
|
Bug Fixes:
|
|
41
171
|
|
|
@@ -49,7 +179,7 @@ Bug Fixes:
|
|
|
49
179
|
(Emric Istanful, #2069)
|
|
50
180
|
|
|
51
181
|
### 3.8.1 / 2018-10-23
|
|
52
|
-
[Full Changelog](
|
|
182
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.8.0...v3.8.1)
|
|
53
183
|
|
|
54
184
|
Bug Fixes:
|
|
55
185
|
|
|
@@ -61,7 +191,7 @@ Bug Fixes:
|
|
|
61
191
|
matchers de-serialize arguments. (@aymeric-ledorze, #2036)
|
|
62
192
|
|
|
63
193
|
### 3.8.0 / 2018-08-04
|
|
64
|
-
[Full Changelog](
|
|
194
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.7.2...v3.8.0)
|
|
65
195
|
|
|
66
196
|
Enhancements:
|
|
67
197
|
|
|
@@ -88,7 +218,7 @@ Bug Fixes:
|
|
|
88
218
|
|
|
89
219
|
|
|
90
220
|
### 3.7.2 / 2017-11-20
|
|
91
|
-
[Full Changelog](
|
|
221
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.7.1...v3.7.2)
|
|
92
222
|
|
|
93
223
|
Bug Fixes:
|
|
94
224
|
|
|
@@ -97,14 +227,14 @@ Bug Fixes:
|
|
|
97
227
|
(Matt Brictson, #1907)
|
|
98
228
|
|
|
99
229
|
### 3.7.1 / 2017-10-18
|
|
100
|
-
[Full Changelog](
|
|
230
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.7.0...v3.7.1)
|
|
101
231
|
|
|
102
232
|
Bug Fixes:
|
|
103
233
|
|
|
104
234
|
* Prevent system test integration loading when puma or capybara are missing (Sam Phippen, #1884)
|
|
105
235
|
|
|
106
236
|
### 3.7.0 / 2017-10-17
|
|
107
|
-
[Full Changelog](
|
|
237
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.6.0...v3.7.0)
|
|
108
238
|
|
|
109
239
|
Bug Fixes:
|
|
110
240
|
|
|
@@ -120,7 +250,7 @@ Enhancements:
|
|
|
120
250
|
* Integrate with `ActionDispatch::SystemTestCase`. (Sam Phippen, #1813)
|
|
121
251
|
|
|
122
252
|
### 3.6.0 / 2017-05-04
|
|
123
|
-
[Full Changelog](
|
|
253
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.6.0.beta2...v3.6.0)
|
|
124
254
|
|
|
125
255
|
Enhancements:
|
|
126
256
|
|
|
@@ -132,7 +262,7 @@ Bug Fixes:
|
|
|
132
262
|
on Rails 3.x and 4.x. (Yuji Nakayama, #1710)
|
|
133
263
|
|
|
134
264
|
### 3.6.0.beta2 / 2016-12-12
|
|
135
|
-
[Full Changelog](
|
|
265
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.6.0.beta1...v3.6.0.beta2)
|
|
136
266
|
|
|
137
267
|
Enhancements:
|
|
138
268
|
|
|
@@ -142,7 +272,7 @@ Enhancements:
|
|
|
142
272
|
(Kevin Glowacz, #1795)
|
|
143
273
|
|
|
144
274
|
### 3.6.0.beta1 / 2016-10-09
|
|
145
|
-
[Full Changelog](
|
|
275
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.2...v3.6.0.beta1)
|
|
146
276
|
|
|
147
277
|
Enhancements:
|
|
148
278
|
|
|
@@ -152,7 +282,7 @@ Enhancements:
|
|
|
152
282
|
* Add support for generating scaffolds for api app specs. (Krzysztof Zych, #1685)
|
|
153
283
|
|
|
154
284
|
### 3.5.2 / 2016-08-26
|
|
155
|
-
[Full Changelog](
|
|
285
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.1...v3.5.2)
|
|
156
286
|
|
|
157
287
|
Bug Fixes:
|
|
158
288
|
|
|
@@ -162,7 +292,7 @@ Bug Fixes:
|
|
|
162
292
|
(Wojciech Wnętrzak, #1684)
|
|
163
293
|
|
|
164
294
|
### 3.5.1 / 2016-07-08
|
|
165
|
-
[Full Changelog](
|
|
295
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0...v3.5.1)
|
|
166
296
|
|
|
167
297
|
Bug Fixes:
|
|
168
298
|
|
|
@@ -171,12 +301,12 @@ Bug Fixes:
|
|
|
171
301
|
is defined. (#1660, Betesh).
|
|
172
302
|
|
|
173
303
|
### 3.5.0 / 2016-07-01
|
|
174
|
-
[Full Changelog](
|
|
304
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0.beta4...v3.5.0)
|
|
175
305
|
|
|
176
306
|
**No user facing changes since beta4**
|
|
177
307
|
|
|
178
308
|
### 3.5.0.beta4 / 2016-06-05
|
|
179
|
-
[Full Changelog](
|
|
309
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0.beta3...v3.5.0.beta4)
|
|
180
310
|
|
|
181
311
|
Enhancements:
|
|
182
312
|
|
|
@@ -194,7 +324,7 @@ Bug fixes:
|
|
|
194
324
|
(Jon Rowe, #1623).
|
|
195
325
|
|
|
196
326
|
### 3.5.0.beta3 / 2016-04-02
|
|
197
|
-
[Full Changelog](
|
|
327
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0.beta2...v3.5.0.beta3)
|
|
198
328
|
|
|
199
329
|
Enhancements:
|
|
200
330
|
|
|
@@ -206,7 +336,7 @@ Bug fixes:
|
|
|
206
336
|
(Jon Rowe, Benjamin Quorning, #1580)
|
|
207
337
|
|
|
208
338
|
### 3.5.0.beta2 / 2016-03-10
|
|
209
|
-
[Full Changelog](
|
|
339
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.5.0.beta1...v3.5.0.beta2)
|
|
210
340
|
|
|
211
341
|
Enhancements:
|
|
212
342
|
|
|
@@ -220,7 +350,7 @@ Bug fixes:
|
|
|
220
350
|
(Alwahsh, #1550)
|
|
221
351
|
|
|
222
352
|
### 3.5.0.beta1 / 2016-02-06
|
|
223
|
-
[Full Changelog](
|
|
353
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.4.2...v3.5.0.beta1)
|
|
224
354
|
|
|
225
355
|
Enhancements:
|
|
226
356
|
|
|
@@ -241,7 +371,7 @@ Bug fixes:
|
|
|
241
371
|
adapter. (Wojciech Wnętrzak, #1489)
|
|
242
372
|
|
|
243
373
|
### 3.4.2 / 2016-02-02
|
|
244
|
-
[Full Changelog](
|
|
374
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.4.1...v3.4.2)
|
|
245
375
|
|
|
246
376
|
Bug Fixes:
|
|
247
377
|
|
|
@@ -249,7 +379,7 @@ Bug Fixes:
|
|
|
249
379
|
regression from #1535. (Andrew White, #1544)
|
|
250
380
|
|
|
251
381
|
### 3.4.1 / 2016-01-25
|
|
252
|
-
[Full Changelog](
|
|
382
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.4.0...v3.4.1)
|
|
253
383
|
|
|
254
384
|
Bug Fixes:
|
|
255
385
|
|
|
@@ -257,7 +387,7 @@ Bug Fixes:
|
|
|
257
387
|
parameters for Rails version `4.2.5.1`. (Andrew White, Sam Phippen, #1535)
|
|
258
388
|
|
|
259
389
|
### 3.4.0 / 2015-11-11
|
|
260
|
-
[Full Changelog](
|
|
390
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.3.3...v3.4.0)
|
|
261
391
|
|
|
262
392
|
Enhancements:
|
|
263
393
|
|
|
@@ -278,7 +408,7 @@ Bug Fixes:
|
|
|
278
408
|
exclusion pattern for its own `lib` code. (Jam Black, #1439)
|
|
279
409
|
|
|
280
410
|
### 3.3.3 / 2015-07-15
|
|
281
|
-
[Full Changelog](
|
|
411
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.3.2...v3.3.3)
|
|
282
412
|
|
|
283
413
|
Bug Fixes:
|
|
284
414
|
|
|
@@ -286,7 +416,7 @@ Bug Fixes:
|
|
|
286
416
|
including symbols. (Dan Kohn, #1414)
|
|
287
417
|
|
|
288
418
|
### 3.3.2 / 2015-06-18
|
|
289
|
-
[Full Changelog](
|
|
419
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.3.1...v3.3.2)
|
|
290
420
|
|
|
291
421
|
Bug Fixes:
|
|
292
422
|
|
|
@@ -296,7 +426,7 @@ Bug Fixes:
|
|
|
296
426
|
abstract AR class. (Jon Rowe, #1396)
|
|
297
427
|
|
|
298
428
|
### 3.3.1 / 2015-06-14
|
|
299
|
-
[Full Changelog](
|
|
429
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.3.0...v3.3.1)
|
|
300
430
|
|
|
301
431
|
Bug Fixes:
|
|
302
432
|
|
|
@@ -304,7 +434,7 @@ Bug Fixes:
|
|
|
304
434
|
trigger internal errors in rails. (Myron Marston, Aaron Kromer, #1395)
|
|
305
435
|
|
|
306
436
|
### 3.3.0 / 2015-06-12
|
|
307
|
-
[Full Changelog](
|
|
437
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.2.3...v3.3.0)
|
|
308
438
|
|
|
309
439
|
Enhancements:
|
|
310
440
|
|
|
@@ -312,17 +442,17 @@ Enhancements:
|
|
|
312
442
|
* Improve controller and routing spec calls to `routes` by using `yield`
|
|
313
443
|
instead of `call`. (Anton Davydov, #1308)
|
|
314
444
|
* Add support for `ActiveJob` specs as standard `RSpec::Rails::RailsExampleGoup`s
|
|
315
|
-
via both
|
|
445
|
+
via both `type: :job` and inferring type from spec directory `spec/jobs`.
|
|
316
446
|
(Gabe Martin-Dempesy, #1361)
|
|
317
447
|
* Include `RSpec::Rails::FixtureSupport` into example groups using metadata
|
|
318
|
-
|
|
448
|
+
`use_fixtures: true`. (Aaron Kromer, #1372)
|
|
319
449
|
* Include `rspec:request` generator for generating request specs; this is an
|
|
320
450
|
alias of `rspec:integration` (Aaron Kromer, #1378)
|
|
321
451
|
* Update `rails_helper` generator with a default check to abort the spec run
|
|
322
452
|
when the Rails environment is production. (Aaron Kromer, #1383)
|
|
323
453
|
|
|
324
454
|
### 3.2.3 / 2015-06-06
|
|
325
|
-
[Full Changelog](
|
|
455
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.2.2...v3.2.3)
|
|
326
456
|
|
|
327
457
|
Bug Fixes:
|
|
328
458
|
|
|
@@ -330,7 +460,7 @@ Bug Fixes:
|
|
|
330
460
|
on Rails 3.x and 4.0 (Aaron Kromer, #1388)
|
|
331
461
|
|
|
332
462
|
### 3.2.2 / 2015-06-03
|
|
333
|
-
[Full Changelog](
|
|
463
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.2.1...v3.2.2)
|
|
334
464
|
|
|
335
465
|
Bug Fixes:
|
|
336
466
|
|
|
@@ -343,7 +473,7 @@ Bug Fixes:
|
|
|
343
473
|
when loading rspec-rails after a spec has been created. (Aaron Kromer, #1372)
|
|
344
474
|
|
|
345
475
|
### 3.2.1 / 2015-02-23
|
|
346
|
-
[Full Changelog](
|
|
476
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.2.0...v3.2.1)
|
|
347
477
|
|
|
348
478
|
Bug Fixes:
|
|
349
479
|
|
|
@@ -355,7 +485,7 @@ Bug Fixes:
|
|
|
355
485
|
Ruby < 2.2 (Aaron Kromer, #1320)
|
|
356
486
|
|
|
357
487
|
### 3.2.0 / 2015-02-03
|
|
358
|
-
[Full Changelog](
|
|
488
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.1.0...v3.2.0)
|
|
359
489
|
|
|
360
490
|
Enhancements:
|
|
361
491
|
|
|
@@ -380,7 +510,7 @@ Bug Fixes:
|
|
|
380
510
|
in Rails 4.1 and 4.2. (Aaron Kromer, #1295)
|
|
381
511
|
|
|
382
512
|
### 3.1.0 / 2014-09-04
|
|
383
|
-
[Full Changelog](
|
|
513
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.2...v3.1.0)
|
|
384
514
|
|
|
385
515
|
Enhancements:
|
|
386
516
|
|
|
@@ -399,7 +529,7 @@ Bug Fixes:
|
|
|
399
529
|
* Fix controller route lookup for Rails 4.2. (Tomohiro Hashidate, #1142)
|
|
400
530
|
|
|
401
531
|
### 3.0.2 / 2014-07-21
|
|
402
|
-
[Full Changelog](
|
|
532
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.1...v3.0.2)
|
|
403
533
|
|
|
404
534
|
Bug Fixes:
|
|
405
535
|
|
|
@@ -408,14 +538,14 @@ Bug Fixes:
|
|
|
408
538
|
* Standardize controller spec template style. (Thomas Kriechbaumer, #1122)
|
|
409
539
|
|
|
410
540
|
### 3.0.1 / 2014-06-02
|
|
411
|
-
[Full Changelog](
|
|
541
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.0...v3.0.1)
|
|
412
542
|
|
|
413
543
|
Bug Fixes:
|
|
414
544
|
|
|
415
545
|
* Fix missing require in `rails g rspec:install`. (Sam Phippen, #1058)
|
|
416
546
|
|
|
417
547
|
### 3.0.0 / 2014-06-01
|
|
418
|
-
[Full Changelog](
|
|
548
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.0.rc1...v3.0.0)
|
|
419
549
|
|
|
420
550
|
Enhancements:
|
|
421
551
|
|
|
@@ -428,7 +558,7 @@ Bug Fixes:
|
|
|
428
558
|
* Fix an issue with fixture support when `ActiveRecord` isn't loaded. (Jon Rowe)
|
|
429
559
|
|
|
430
560
|
### 3.0.0.rc1 / 2014-05-18
|
|
431
|
-
[Full Changelog](
|
|
561
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.0.beta2...v3.0.0.rc1)
|
|
432
562
|
|
|
433
563
|
Breaking Changes for 3.0.0:
|
|
434
564
|
|
|
@@ -456,7 +586,7 @@ Enhancements:
|
|
|
456
586
|
Bug Fixes:
|
|
457
587
|
|
|
458
588
|
* Fix an inconsistency in the generated scaffold specs for a controller. (Andy Waite)
|
|
459
|
-
* Ensure `config.before(:all, :
|
|
589
|
+
* Ensure `config.before(:all, type: <type>)` hooks run before groups
|
|
460
590
|
of the given type, even when the type is inferred by the file
|
|
461
591
|
location. (Jon Rowe, Myron Marston)
|
|
462
592
|
* Switch to parsing params with `Rack::Utils::parse_nested_query` to match Rails.
|
|
@@ -464,7 +594,7 @@ Bug Fixes:
|
|
|
464
594
|
* Fix incorrect namespacing of anonymous controller routes. (Aaron Kromer)
|
|
465
595
|
|
|
466
596
|
### 3.0.0.beta2 / 2014-02-17
|
|
467
|
-
[Full Changelog](
|
|
597
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.0.0.beta1...v3.0.0.beta2)
|
|
468
598
|
|
|
469
599
|
Breaking Changes for 3.0.0:
|
|
470
600
|
|
|
@@ -492,7 +622,7 @@ Bug Fixes:
|
|
|
492
622
|
* Require `rspec/collection_matchers` when `rspec/rails` is required. (Yuji Nakayama)
|
|
493
623
|
|
|
494
624
|
### 3.0.0.beta1 / 2013-11-07
|
|
495
|
-
[Full Changelog](
|
|
625
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.99.0...v3.0.0.beta1)
|
|
496
626
|
|
|
497
627
|
Breaking Changes for 3.0.0:
|
|
498
628
|
|
|
@@ -500,12 +630,12 @@ Breaking Changes for 3.0.0:
|
|
|
500
630
|
(Andy Lindeman)
|
|
501
631
|
|
|
502
632
|
### 2.99.0 / 2014-06-01
|
|
503
|
-
[Full Changelog](
|
|
633
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.99.0.rc1...v2.99.0)
|
|
504
634
|
|
|
505
635
|
No changes. Just taking it out of pre-release.
|
|
506
636
|
|
|
507
637
|
### 2.99.0.rc1 / 2014-05-18
|
|
508
|
-
[Full Changelog](
|
|
638
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.99.0.beta2...v2.99.0.rc1)
|
|
509
639
|
|
|
510
640
|
Deprecations
|
|
511
641
|
|
|
@@ -522,7 +652,7 @@ Deprecations
|
|
|
522
652
|
class passed to `describe`. (Myron Marston)
|
|
523
653
|
|
|
524
654
|
### 2.99.0.beta2 / 2014-02-17
|
|
525
|
-
[Full Changelog](
|
|
655
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.99.0.beta1...v2.99.0.beta2)
|
|
526
656
|
|
|
527
657
|
Deprecations:
|
|
528
658
|
|
|
@@ -540,7 +670,7 @@ Bug Fixes:
|
|
|
540
670
|
is not present. (Jon Rowe)
|
|
541
671
|
|
|
542
672
|
### 2.99.0.beta1 / 2013-11-07
|
|
543
|
-
[Full Changelog](
|
|
673
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.14.0...v2.99.0.beta1)
|
|
544
674
|
|
|
545
675
|
Deprecations:
|
|
546
676
|
|
|
@@ -562,7 +692,7 @@ Bug Fixes:
|
|
|
562
692
|
in all of `rails` to use `rspec-rails`. (John Firebaugh)
|
|
563
693
|
|
|
564
694
|
### 2.14.1 / 2013-12-29
|
|
565
|
-
[full changelog](
|
|
695
|
+
[full changelog](https://github.com/rspec/rspec-rails/compare/v2.14.0...v2.14.1)
|
|
566
696
|
|
|
567
697
|
Bug Fixes:
|
|
568
698
|
|
|
@@ -577,7 +707,7 @@ Bug Fixes:
|
|
|
577
707
|
* Use `__send__` rather than `send` to prevent naming collisions (Bradley Schaefer)
|
|
578
708
|
|
|
579
709
|
### 2.14.0 / 2013-07-06
|
|
580
|
-
[Full Changelog](
|
|
710
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.14.0.rc1...v2.14.0)
|
|
581
711
|
|
|
582
712
|
Bug fixes
|
|
583
713
|
|
|
@@ -589,7 +719,7 @@ Bug fixes
|
|
|
589
719
|
Rails 4. (Andy Lindeman)
|
|
590
720
|
|
|
591
721
|
### 2.14.0.rc1 / 2013-05-27
|
|
592
|
-
[Full Changelog](
|
|
722
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.13.2...v2.14.0.rc1)
|
|
593
723
|
|
|
594
724
|
Enhancements
|
|
595
725
|
|
|
@@ -602,7 +732,7 @@ Bug fixes
|
|
|
602
732
|
spec/ directory. (Benjamin Fleischer)
|
|
603
733
|
|
|
604
734
|
### 2.13.2 / 2013-05-18
|
|
605
|
-
[Full Changelog](
|
|
735
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.13.1...v2.13.2)
|
|
606
736
|
|
|
607
737
|
Bug fixes
|
|
608
738
|
|
|
@@ -617,7 +747,7 @@ Enhancements
|
|
|
617
747
|
* Document how the spec/support directory works. (Sam Phippen)
|
|
618
748
|
|
|
619
749
|
### 2.13.1 / 2013-04-27
|
|
620
|
-
[Full Changelog](
|
|
750
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.13.0...v2.13.1)
|
|
621
751
|
|
|
622
752
|
Bug fixes
|
|
623
753
|
|
|
@@ -631,7 +761,7 @@ Bug fixes
|
|
|
631
761
|
* Fix spacing in the install generator template (Taiki ONO)
|
|
632
762
|
|
|
633
763
|
### 2.13.0 / 2013-02-23
|
|
634
|
-
[Full Changelog](
|
|
764
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.12.2...v2.13.0)
|
|
635
765
|
|
|
636
766
|
Enhancements
|
|
637
767
|
|
|
@@ -646,7 +776,7 @@ Enhancements
|
|
|
646
776
|
(Rudolf Schmidt)
|
|
647
777
|
|
|
648
778
|
### 2.12.2 / 2013-01-12
|
|
649
|
-
[Full Changelog](
|
|
779
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.12.1...v2.12.2)
|
|
650
780
|
|
|
651
781
|
Bug fixes
|
|
652
782
|
|
|
@@ -658,7 +788,7 @@ Bug fixes
|
|
|
658
788
|
Lindeman)
|
|
659
789
|
|
|
660
790
|
### 2.12.1 / 2013-01-07
|
|
661
|
-
[Full Changelog](
|
|
791
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.12.0...v2.12.1)
|
|
662
792
|
|
|
663
793
|
Bug fixes
|
|
664
794
|
|
|
@@ -673,7 +803,7 @@ Bug fixes
|
|
|
673
803
|
and generation of URLs from other contexts. (Andy Lindeman)
|
|
674
804
|
|
|
675
805
|
### 2.12.0 / 2012-11-12
|
|
676
|
-
[Full Changelog](
|
|
806
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.11.4...v2.12.0)
|
|
677
807
|
|
|
678
808
|
Enhancements
|
|
679
809
|
|
|
@@ -694,7 +824,7 @@ Bug fixes
|
|
|
694
824
|
* Failures message for `be_new_record` are more useful (Andy Lindeman)
|
|
695
825
|
|
|
696
826
|
### 2.11.4 / 2012-10-14
|
|
697
|
-
[Full Changelog](
|
|
827
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.11.0...v2.11.4)
|
|
698
828
|
|
|
699
829
|
Capybara-2.0 integration support:
|
|
700
830
|
|
|
@@ -702,13 +832,13 @@ Capybara-2.0 integration support:
|
|
|
702
832
|
* include Capybara::DSL and Capybara::RSpecMatchers in spec/features
|
|
703
833
|
|
|
704
834
|
See [https://github.com/jnicklas/capybara/pull/809](https://github.com/jnicklas/capybara/pull/809)
|
|
705
|
-
and [
|
|
835
|
+
and [https://rubydoc.info/gems/rspec-rails/file/Capybara.md](https://rubydoc.info/gems/rspec-rails/file/Capybara.md)
|
|
706
836
|
for background.
|
|
707
837
|
|
|
708
838
|
2.11.1, .2, .3 were yanked due to errant documentation.
|
|
709
839
|
|
|
710
840
|
### 2.11.0 / 2012-07-07
|
|
711
|
-
[Full Changelog](
|
|
841
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.10.1...v2.11.0)
|
|
712
842
|
|
|
713
843
|
Enhancements
|
|
714
844
|
|
|
@@ -727,7 +857,7 @@ Bug fixes
|
|
|
727
857
|
loads (Andy Lindeman)
|
|
728
858
|
|
|
729
859
|
### 2.10.1 / 2012-05-03
|
|
730
|
-
[Full Changelog](
|
|
860
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.10.0...v2.10.1)
|
|
731
861
|
|
|
732
862
|
Bug fixes
|
|
733
863
|
|
|
@@ -737,7 +867,7 @@ Bug fixes
|
|
|
737
867
|
Rails already does this (Jack Dempsey)
|
|
738
868
|
|
|
739
869
|
### 2.10.0 / 2012-05-03
|
|
740
|
-
[Full Changelog](
|
|
870
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.9.0...v2.10.0)
|
|
741
871
|
|
|
742
872
|
Bug fixes
|
|
743
873
|
|
|
@@ -752,7 +882,7 @@ Bug fixes
|
|
|
752
882
|
Strother)
|
|
753
883
|
|
|
754
884
|
### 2.9.0 / 2012-03-17
|
|
755
|
-
[Full Changelog](
|
|
885
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.8.1...v2.9.0)
|
|
756
886
|
|
|
757
887
|
Enhancements
|
|
758
888
|
|
|
@@ -767,7 +897,7 @@ Bug fixes
|
|
|
767
897
|
|
|
768
898
|
### 2.8.1 / 2012-01-04
|
|
769
899
|
|
|
770
|
-
[Full Changelog](
|
|
900
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.8.0...v2.8.1)
|
|
771
901
|
|
|
772
902
|
NOTE: there was a change in rails-3.2.0.rc2 which broke compatibility with
|
|
773
903
|
stub_model in rspec-rails. This release fixes that issue, but it means that
|
|
@@ -780,7 +910,7 @@ you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >=
|
|
|
780
910
|
|
|
781
911
|
### 2.8.0 / 2012-01-04
|
|
782
912
|
|
|
783
|
-
[Full Changelog](
|
|
913
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.8.0.rc2...v2.8.0)
|
|
784
914
|
|
|
785
915
|
* Enhancements
|
|
786
916
|
* Eliminate deprecation warnings in generated view specs in Rails 3.2
|
|
@@ -790,7 +920,7 @@ you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >=
|
|
|
790
920
|
|
|
791
921
|
### 2.8.0.rc2 / 2011-12-19
|
|
792
922
|
|
|
793
|
-
[Full Changelog](
|
|
923
|
+
[Full Changelog](https://github.com/rspec/rspec-mocks/compare/v2.8.0.rc1...v2.8.0.rc2)
|
|
794
924
|
|
|
795
925
|
* Enhancements
|
|
796
926
|
* Add session hash to generated controller specs (Thiago Almeida)
|
|
@@ -802,7 +932,7 @@ you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >=
|
|
|
802
932
|
|
|
803
933
|
### 2.8.0.rc1 / 2011-11-06
|
|
804
934
|
|
|
805
|
-
[Full Changelog](
|
|
935
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.7.0...v2.8.0.rc1)
|
|
806
936
|
|
|
807
937
|
* Enhancements
|
|
808
938
|
* Removed unnecessary "config.mock_with :rspec" from spec_helper.rb (Paul
|
|
@@ -818,7 +948,7 @@ you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >=
|
|
|
818
948
|
|
|
819
949
|
### 2.7.0 / 2011-10-16
|
|
820
950
|
|
|
821
|
-
[Full Changelog](
|
|
951
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.6.1...v2.7.0)
|
|
822
952
|
|
|
823
953
|
* Enhancements
|
|
824
954
|
* `ActiveRecord::Relation` can use the `=~` matcher (Andy Lindeman)
|
|
@@ -843,7 +973,7 @@ you'll have to upgrade to rspec-rails-2.8.1 when you upgrade to rails >=
|
|
|
843
973
|
|
|
844
974
|
### 2.6.1 / 2011-05-25
|
|
845
975
|
|
|
846
|
-
[Full Changelog](
|
|
976
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.6.0...v2.6.1)
|
|
847
977
|
|
|
848
978
|
This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
849
979
|
|
|
@@ -854,7 +984,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
|
854
984
|
|
|
855
985
|
### 2.6.0 / 2011-05-12
|
|
856
986
|
|
|
857
|
-
[Full Changelog](
|
|
987
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.5.0...v2.6.0)
|
|
858
988
|
|
|
859
989
|
* Enhancements
|
|
860
990
|
* rails 3 shortcuts for routing specs (Joe Fiorini)
|
|
@@ -878,7 +1008,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
|
878
1008
|
|
|
879
1009
|
### 2.5.0 / 2011-02-05
|
|
880
1010
|
|
|
881
|
-
[Full Changelog](
|
|
1011
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.4.1...v2.5.0)
|
|
882
1012
|
|
|
883
1013
|
* Enhancements
|
|
884
1014
|
* use index_helper instead of table_name when generating specs (Reza
|
|
@@ -893,7 +1023,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
|
893
1023
|
|
|
894
1024
|
### 2.4.1 / 2011-01-03
|
|
895
1025
|
|
|
896
|
-
[Full Changelog](
|
|
1026
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.4.0...v2.4.1)
|
|
897
1027
|
|
|
898
1028
|
* Bug fixes
|
|
899
1029
|
* fixed bug caused by including some Rails modules before RSpec's
|
|
@@ -901,12 +1031,12 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
|
901
1031
|
|
|
902
1032
|
### 2.4.0 / 2011-01-02
|
|
903
1033
|
|
|
904
|
-
[Full Changelog](
|
|
1034
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.3.1...v2.4.0)
|
|
905
1035
|
|
|
906
1036
|
* Enhancements
|
|
907
1037
|
* include ApplicationHelper in helper object in helper specs
|
|
908
1038
|
* include request spec extensions in files in spec/integration
|
|
909
|
-
* include controller spec extensions in groups that use :
|
|
1039
|
+
* include controller spec extensions in groups that use type: :controller
|
|
910
1040
|
* same for :model, :view, :helper, :mailer, :request, :routing
|
|
911
1041
|
|
|
912
1042
|
* Bug fixes
|
|
@@ -921,7 +1051,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
|
921
1051
|
|
|
922
1052
|
### 2.3.1 / 2010-12-16
|
|
923
1053
|
|
|
924
|
-
[Full Changelog](
|
|
1054
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.3.0...v2.3.1)
|
|
925
1055
|
|
|
926
1056
|
* Bug fixes
|
|
927
1057
|
* respond_to? correctly handles 2 args
|
|
@@ -929,7 +1059,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
|
929
1059
|
|
|
930
1060
|
### 2.3.0 / 2010-12-12
|
|
931
1061
|
|
|
932
|
-
[Full Changelog](
|
|
1062
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.2.1...v2.3.0)
|
|
933
1063
|
|
|
934
1064
|
* Changes
|
|
935
1065
|
* Generator no longer generates autotest/autodiscover.rb, as it is no longer
|
|
@@ -937,7 +1067,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
|
937
1067
|
|
|
938
1068
|
### 2.2.1 / 2010-12-01
|
|
939
1069
|
|
|
940
|
-
[Full Changelog](
|
|
1070
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.2.0...v2.2.1)
|
|
941
1071
|
|
|
942
1072
|
* Bug fixes
|
|
943
1073
|
* Depend on railties, activesupport, and actionpack instead of rails (Piotr
|
|
@@ -949,7 +1079,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
|
949
1079
|
|
|
950
1080
|
### 2.2.0 / 2010-11-28
|
|
951
1081
|
|
|
952
|
-
[Full Changelog](
|
|
1082
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.1.0...v2.2.0)
|
|
953
1083
|
|
|
954
1084
|
* Enhancements
|
|
955
1085
|
* Added stub_template in view specs
|
|
@@ -964,7 +1094,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
|
964
1094
|
|
|
965
1095
|
### 2.1.0 / 2010-11-07
|
|
966
1096
|
|
|
967
|
-
[Full Changelog](
|
|
1097
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.0.1...v2.1.0)
|
|
968
1098
|
|
|
969
1099
|
* Enhancements
|
|
970
1100
|
* Move errors_on to ActiveModel to support other AM-compliant ORMs
|
|
@@ -975,7 +1105,7 @@ This release is compatible with rails-3.1.0.rc1, but not rails-3.1.0.beta1
|
|
|
975
1105
|
|
|
976
1106
|
### 2.0.1 / 2010-10-15
|
|
977
1107
|
|
|
978
|
-
[Full Changelog](
|
|
1108
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v2.0.0...v2.0.1)
|
|
979
1109
|
|
|
980
1110
|
* Enhancements
|
|
981
1111
|
* Add option to not generate request spec (--skip-request-specs)
|