Commit 9874cf59 authored by Robert Speicher's avatar Robert Speicher Committed by Dmitriy Zaporozhets

Fix include_module matcher

parent 990ddeba
......@@ -33,7 +33,11 @@ RSpec::Matchers.define :include_module do |expected|
described_class.included_modules.include?(expected)
end
failure_message_for_should do
description do
"include the #{expected} module"
end
failure_message do
"expected #{described_class} to include the #{expected} module"
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment