Sha256: b9b639d224ebdf2aeca618ba034bd2ba761366f9c73e91b322cfc724032149d7

Contents?: true

Size: 359 Bytes

Versions: 5

Compression:

Stored size: 359 Bytes

Contents

require 'spec_helper'
module Alf
  module Rack
    describe Response, '.supported_media_types' do

      subject{ Response.supported_media_types }

      it{ should be_a(Array) }

      it{ should_not be_empty }

      it{ should include("text/plain") }
      it{ should include("text/csv") }
      it{ should include("application/json") }

    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
alf-rack-0.16.3 spec/response/class/test_supported_media_types.rb
alf-rack-0.16.2 spec/response/class/test_supported_media_types.rb
alf-rack-0.16.1 spec/response/class/test_supported_media_types.rb
alf-rack-0.16.0 spec/response/class/test_supported_media_types.rb
alf-rack-0.15.0 spec/response/class/test_supported_media_types.rb