# File lib/rspec/rails/adapters.rb, line 34 def assertion_method_names Test::Unit::Assertions.public_instance_methods.select{|m| m.to_s =~ /^(assert|flunk)/} + [:build_message] end
# File lib/rspec/rails/adapters.rb, line 39 def define_assertion_delegators assertion_method_names.each do |m| class_eval def #{m}(*args, &block) assertion_delegate.send :#{m}, *args, &block end end end
[Validate]
Generated with the Darkfish Rdoc Generator 2.