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
No related branches found
No related tags found
No related merge requests found
Loading
@@ -33,7 +33,11 @@ RSpec::Matchers.define :include_module do |expected|
Loading
@@ -33,7 +33,11 @@ RSpec::Matchers.define :include_module do |expected|
described_class.included_modules.include?(expected) described_class.included_modules.include?(expected)
end end
   
failure_message_for_should do description do
"include the #{expected} module"
end
failure_message do
"expected #{described_class} to include the #{expected} module" "expected #{described_class} to include the #{expected} module"
end end
end end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment