Ruby - Testing with RSpec and Minitest
Which statement about RSpec matchers is true?
eq checks value equality (==), not identity. be often checks identity (equal). match is for regex. include works with arrays, hashes, strings.match matcher being for regular expression matching is correct.match matcher is used for regular expression matching. -> Option Cmatch = regex matcher [OK]be checks identity, eq checks value [OK]eq and be matchersinclude only works with arraysmatch purpose15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions