Sha256: 328749c1686dad94695ef172624326ee446c7ee240fbcd7d356a8a3ea8c96e6b
Contents?: true
Size: 646 Bytes
Versions: 54
Compression:
Stored size: 646 Bytes
Contents
root = exports ? window queryable = require 'indemma/lib/record/queryable' describe 'queryable', -> describe 'model', -> beforeEach -> @person = model.call resource : 'person' it 'should set the queryable key', -> model.should.have.property 'queryable', true it 'should create a storage', -> @person.should.have.property 'storage' describe '#find', -> beforeEach -> @arthur = @person _id: '1' name: 'Arthur Philip Dent' @arthur.save() it 'should retrieve a record by key', -> @person.find('1').should.have.property 'name', @arthur.name
Version data entries
54 entries across 54 versions & 1 rubygems