Sha256: 57edc4007e35516605851e31ffd461d093b435f5142e9f9176e3988fbfd7cd96
Contents?: true
Size: 656 Bytes
Versions: 58
Compression:
Stored size: 656 Bytes
Contents
var root; root = typeof exports !== "undefined" && exports !== null ? exports : window; require('indemma/lib/record/translationable'); describe('model', function() { var model, person; model = root.model; person = null; beforeEach(function() { return person = model.call({ resource: 'person', name: String, translation: { attributes: { name: 'Batata' } } }); }); return describe('#human_attribute_name', function() { return it('should return the translated attribute name', function() { return person.human_attribute_name('name').should.be.eq('Batata'); }); }); });
Version data entries
58 entries across 58 versions & 1 rubygems