Closed s01ipsist closed 7 years ago
The expect
syntax has been favoured over should
for some time.
http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
The Rails.root
call fails without loading the rails_helper
, standard with rspec-rails.
The message was split into multiple lines to aid readability and meet Ruby style guide standards.
Awesome, thanks for explaining.
Hi @s01ipsist! Since we don't use this style of test at my company, could you let me know more information about the change here? Was this changed in a recent Rails version?