Skip to content

Commit 4e88eb3

Browse files
authored
Merge branch 'main' into rails-6-1-dev
2 parents db71614 + 0088716 commit 4e88eb3

File tree

3 files changed

+15
-12
lines changed

3 files changed

+15
-12
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636

3737
# Rails 6.1.0 builds >= 2.5
3838
- ruby: ruby-3.0.0-preview2
39+
allow_failure: true
3940
env:
4041
RAILS_VERSION: '~> 6.1.0'
4142
- ruby: 2.7.1
@@ -47,7 +48,6 @@ jobs:
4748
- ruby: 2.5.8
4849
env:
4950
RAILS_VERSION: '~> 6.1.0'
50-
5151
# Rails 6.0 builds >= 2.5.0
5252
- ruby: 3.0.0-preview2
5353
env:

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ else
4040
gem 'sqlite3', '~> 1.3.6', platforms: [:ruby]
4141
end
4242

43+
# Until 1.13.2 is released due to Rubygems usage
44+
gem 'ffi', '~> 1.12.0'
45+
4346
custom_gemfile = File.expand_path('Gemfile-custom', __dir__)
4447
eval_gemfile custom_gemfile if File.exist?(custom_gemfile)
4548

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -187,17 +187,17 @@ In addition to [the matchers that come standard in RSpec][],
187187
here are some extras that make it easier
188188
to test the various parts of a Rails system:
189189

190-
| RSpec matcher | Delegates to | Available in | Notes |
191-
| ------------------------ | ----------------- | ------------------------------- | -------------------------------------------------------- |
192-
| [`be_a_new`][] | | all | primarily intended for controller specs |
193-
| [`render_template`][] | `assert_template` | request / controller / view | use with `expect(response).to` |
194-
| [`redirect_to`][] | `assert_redirect` | request / controller | use with `expect(response).to` |
195-
| [`route_to`] | `assert_routing` | routing / controller | use with `expect(...).to route_to` |
196-
| [`be_routable`] | | routing / controller | use with `expect(...).not_to be_routable` |
197-
| [`have_http_status`][] | | request / controller / feature | |
198-
| [`match_array`][] | | all | for comparing arrays of ActiveRecord objects |
199-
| [`have_been_enqueued`][] | | all | requires config: `ActiveJob::Base.queue_adapter = :test` |
200-
| [`have_enqueued_job`][] | | all | requires config: `ActiveJob::Base.queue_adapter = :test` |
190+
| RSpec matcher | Delegates to | Available in | Notes |
191+
| ------------------------ | ------------------- | ------------------------------- | -------------------------------------------------------- |
192+
| [`be_a_new`][] | | all | primarily intended for controller specs |
193+
| [`render_template`][] | `assert_template` | request / controller / view | use with `expect(response).to` |
194+
| [`redirect_to`][] | `assert_redirect` | request / controller | use with `expect(response).to` |
195+
| [`route_to`] | `assert_recognizes` | routing / controller | use with `expect(...).to route_to` |
196+
| [`be_routable`] | | routing / controller | use with `expect(...).not_to be_routable` |
197+
| [`have_http_status`][] | | request / controller / feature | |
198+
| [`match_array`][] | | all | for comparing arrays of ActiveRecord objects |
199+
| [`have_been_enqueued`][] | | all | requires config: `ActiveJob::Base.queue_adapter = :test` |
200+
| [`have_enqueued_job`][] | | all | requires config: `ActiveJob::Base.queue_adapter = :test` |
201201

202202
Follow the links above for examples of how each matcher is used.
203203

0 commit comments

Comments
 (0)