Skip to content

Commit f756b33

Browse files
committed
[CI SKIP] Add note about compatibility with RSpec.
1 parent aac893a commit f756b33

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,20 @@ Or install it yourself as:
2323

2424
$ gem install rails-controller-testing
2525

26+
### RSpec
27+
28+
See https://github.com/rspec/rspec-rails/issues/1393.
29+
30+
To work around the issue, you'll have to include the modules in your `spec_helper`.
31+
32+
```ruby
33+
RSpec.configure do |config|
34+
config.include Rails::Controller::Testing::TestProcess
35+
config.include Rails::Controller::Testing::TemplateAssertions
36+
config.include Rails::Controller::Testing::Integration
37+
end
38+
```
39+
2640
## Usage
2741

2842
### assigns

0 commit comments

Comments
 (0)