Sha256: 272662709e9dd24f9f2d11898937f2f5c12f918d642e26ab2b6c71dfc26ea902
Contents?: true
Size: 383 Bytes
Versions: 20
Compression:
Stored size: 383 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_many :followees, User owns_many :messages, Message end #mock the db url module JasonDB def JasonDB::db_auth_url mode=:secure "https://michael:password@rest.jasondb.com/medea-test/" end end
Version data entries
20 entries across 20 versions & 1 rubygems