Skip to content
Snippets Groups Projects
Commit 9874cf59 authored by Robert Speicher's avatar Robert Speicher Committed by Dmitriy Zaporozhets
Browse files

Fix include_module matcher

parent 990ddeba
Branches
Tags
1 merge request!831RSpec3
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment