0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/client/tests/unit/helpers/read-path-test.js

18 lines
428 B
JavaScript
Raw Normal View History

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