class Shoulda::ActionController::Matchers::RespondWithContentTypeMatcher

def initialize(content_type)

def initialize(content_type)
  @content_type = if content_type.is_a?(Symbol)
    lookup_by_extension(content_type)
  else
    content_type
  end
end