Improve RSpec generated description (avoid should)

This commit is contained in:
Thibault Jouan 2015-05-05 02:26:51 +00:00
parent 3a54d8c0b9
commit 3089462d97

View File

@ -0,0 +1,8 @@
module RSpec
module Matchers
def self.generated_description
return nil if last_expectation_handler.nil?
"must #{last_description}"
end
end
end