Skip to content

Commit

Permalink
test(aurelia): fix bad host structure data
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Feb 28, 2015
1 parent 79feec4 commit 96fa4e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/aurelia.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ describe('aurelia', () => {
it("should use the applicationHost if it's not a string as the host", (done) => {
//This wouldn't have succeeded because registerInstance checks the type
//But the function doesn't guard against applicationHost so this test is valid
var host = {};
var host = { firstChild:{} };
aurelia.setRoot(rootModel, host)
.then((result) => {
expect(result).toBe(aurelia);
Expand Down

0 comments on commit 96fa4e4

Please sign in to comment.