# File lib/shoulda/active_record/macros.rb, line 363 363: def should_have_instance_methods(*methods) 364: get_options!(methods) 365: klass = described_type 366: methods.each do |method| 367: should "respond to instance method ##{method}" do 368: assert_respond_to klass.new, method, "#{klass.name} does not have instance method #{method}" 369: end 370: end 371: end