Ghost/ghost/admin/tests/unit/helpers/read-path-test.js
Jason Williams feac9682d0 Update Ember to 1.13.2
- Refactor to handle deprecations including removal of
  all Views, ArrayControllers, and ItemControllers.
2015-06-24 11:47:28 -05:00

18 lines
419 B
JavaScript

/* jshint expr:true */
import {expect} from 'chai';
import {
describe,
it
} from 'mocha';
import {readPath} from 'ghost/helpers/read-path';
import Ember from 'ember';
describe('ReadPathHelper', function () {
// Replace this with your real tests.
it('works', function () {
var result = readPath([Ember.Object.create({hi: 'there'}), 'hi']);
expect(result).to.equal('there');
});
});