lib/code_spec/matchers/inherit_from.rb in code-spec-0.2.8 vs lib/code_spec/matchers/inherit_from.rb in code-spec-0.2.9
- old
+ new
@@ -11,15 +11,15 @@
1
end
def failure_message
super
- "Expected the class to inherit from #{klass}"
+ "Expected the class to inherit from #{klass}\ncontent:#{content}"
end
def negative_failure_message
super
- "Did not expect the class to inherit from #{klass}"
+ "Did not expect the class to inherit from #{klass}\ncontent:#{content}"
end
protected
def main_expr