You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 21, 2024. It is now read-only.
This line is harmful because it prevents from generating request specs. For example, if you execute the command bin/rails g rspec:request projects_api in Chapter 7, it generates nothing without any errors:
$ bin/rails g rspec:request projects_api
Running via Spring preloader in process 97985
$
This behavior is very confusing for the readers. Actually, one of them was in trouble:
Chapter 4, the section "Installing Factory Bot", you wrote
config/application.rb
like this:However, the line
request_specs: false
does not exist in the sample code:https://github.com/everydayrails/everydayrails-rspec-2017/blob/04-factories/config/application.rb#L18-L23
This line is harmful because it prevents from generating request specs. For example, if you execute the command
bin/rails g rspec:request projects_api
in Chapter 7, it generates nothing without any errors:This behavior is very confusing for the readers. Actually, one of them was in trouble:
https://twitter.com/diveintoganges/status/1049634233184968704
Therefore, I think the line
request_specs: false
should be removed.The text was updated successfully, but these errors were encountered: