Does rspec have anything more specific than target.should be < 6? April 26, 2023 by Tarik In RSpec’s new expectation syntax, you would express it as: expect(target).to be < 6