Sha256: ad5ceffbd8634f7f0146c80bbcb03bdd3c2eba72ceae46e8ef68f6e32cbaf27f
Contents?: true
Size: 443 Bytes
Versions: 58
Compression:
Stored size: 443 Bytes
Contents
root = exports ? window require 'indemma/lib/record/translationable' describe 'model', -> model = root.model person = null beforeEach -> person = model.call resource : 'person' name: String translation: attributes: name: 'Batata' describe '#human_attribute_name', -> it 'should return the translated attribute name', -> person.human_attribute_name('name').should.be.eq 'Batata'
Version data entries
58 entries across 58 versions & 1 rubygems