mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-04 08:54:36 +03:00
feac9682d0
- Refactor to handle deprecations including removal of all Views, ArrayControllers, and ItemControllers.
18 lines
419 B
JavaScript
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');
|
|
});
|
|
});
|