tests/helpers/common.rb
# Only return the raw content type without parameters
Only return the raw content type without parameters
Only return the raw content type without parameters
def content_type
    if headers[:content_type]
      headers[:content_type].split(";").first
    end
  end
def content_type if headers [ :content_type ] headers [ :content_type ] . split ( ";" ) . first end end
Only return the raw content type without parameters
Only return the raw content type without parameters