# File lib/shoulda/active_record/macros.rb, line 348 348: def should_have_class_methods(*methods) 349: ::ActiveSupport::Deprecation.warn 350: get_options!(methods) 351: klass = described_type 352: methods.each do |method| 353: should "respond to class method ##{method}" do 354: assert_respond_to klass, method, "#{klass.name} does not have class method #{method}" 355: end 356: end 357: end