# File tests/common.rb, line 75 def accept(format=:xml) case format when :json then 'application/json;q=0.9' when :html then 'text/html;q=0.9' when :xml then 'application/xml;q=0.9' else 'application/xml;q=0.9' end end