Sha256: 7631d978a77c3c04d938c4b9f6ef9917d021ae1228a6ca0145e727224b6c4d27

Contents?: true

Size: 482 Bytes

Versions: 5

Compression:

Stored size: 482 Bytes

Contents

$: << File.join(File.dirname(__FILE__), '/../lib')
require 'rspec'
require 'rspec/mocks'
require 'medea'

class Message < Medea::JasonObject
end

class User < Medea::JasonObject
  has_location
  has_many :followees, User
  owns_many :messages, Message
end

class DummyResponse
  def code
    201
  end
  def headers
    {:Etag => "sometag",
     :timestamp => "12345678"}
  end
end

ENV["jason_user"] = "michael"
ENV["jason_topic"] = "medea-test"
ENV["jason_password"] = "password"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
medea-0.7.1 spec/spec_helper.rb
medea-0.7.0 spec/spec_helper.rb
medea-0.6.9 spec/spec_helper.rb
medea-0.6.8 spec/spec_helper.rb
medea-0.6.7 spec/spec_helper.rb