lib/assert/macros/methods.rb in assert-2.14.0 vs lib/assert/macros/methods.rb in assert-2.15.0
- old
+ new
@@ -98,10 +98,10 @@
alias_method :not_have_accessors, :not_have_accessor
# private
def _methods_macro_test(called_from)
- @_methods_macro_test ||= should "respond to methods", called_from do
+ @_methods_macro_test ||= test "should respond to methods", called_from do
self.class._methods_macro_instance_methods.each do |(method, called_from)|
msg = "#{subject.class.name} does not have instance method ##{method}"
with_backtrace(called_from) do
assert_respond_to method, subject, msg