Changed from the old syntax to the new allow_any_instance_of according to the documentation. https://www.rubydoc.info/github/rspec/rspec-mocks/RSpec/Mocks/ExampleMethods%3aallow_any_instance_of |
||
|---|---|---|
| .. | ||
| api | ||
| controllers | ||
| cve | ||
| factories | ||
| fixtures | ||
| js | ||
| lib | ||
| mailers | ||
| migration | ||
| models | ||
| requests | ||
| support | ||
| rails_helper.rb | ||
| spec_helper.rb | ||