Sha256: 4baa6e4b29db2122719eb562ec21de4f9278e754f5c34fde7a72ee1b53afbe3c

Contents?: true

Size: 555 Bytes

Versions: 2

Compression:

Stored size: 555 Bytes

Contents

Whisperer.define(:starks) do
  request do
    uri    'http://example.com/users'
    method :get

    headers do
      accept '*/*'
    end
  end

  response do
    status do
      code    200
      message 'OK'
    end

    headers do
      content_type           'application/json;charset=utf-8'
      content_length         57
      x_content_type_options 'nosniff'
    end

    body do
      encoding   'UTF-8'
      serializer :json_multiple
      factories  ['robb_stark', 'ned_stark']
    end
  end

  recorded_at 'Mon, 13 Jan 2014 21:01:47 GMT'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
whisperer-0.0.2 spec/cassette_builders/starks.rb
whisperer-0.0.1 spec/cassette_builders/starks.rb