mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
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');
|
||
|
});
|
||
|
});
|