-
Controlling your rake spec run
rake spec SPEC=path/to/file/from/project/root_spec.rb rake spec SPEC_OPTS=”–format documentation”
-
Unexpected arguments message from a mock in rspec created with an implicit hash (2.7 -> 3.x)
Getting an “unexpected arguments” message from rspec in Ruby 3.0 with the mock was created an implicit hash (one without braces).