# put this inside spec_helper.rb def p(*objs) puts objs.map { |o| inspect.gsub('<', '<').gsub('>', '>') }.join("\n") end