rake spec SPEC=path/to/file/from/project/root_spec.rb rake spec SPEC_OPTS=”–format documentation”
you want to test both positive and negative results of a rspec test, because a false negative result is a fairly high risk, such as in a case where the broken code fails silently
Getting an “unexpected arguments” message from rspec in Ruby 3.0 with the mock was created an implicit hash (one without braces).