Skip to content

Commit

Permalink
[BUGFIX beta] Add test for emberjs#18693
Browse files Browse the repository at this point in the history
  • Loading branch information
GCheung55 committed Feb 21, 2020
1 parent a0a4088 commit f1eb8b4
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -285,5 +285,15 @@ moduleFor(

this.assert.deepEqual(captured, ['Tom', 'Godfrey']);
}

['@test GH18693 properties in hash can be accessed from the array']() {
this.render(strip`
{{#each (array (hash some="thing")) as |item|}}
{{item.some}}
{{/each}}`
);

this.assertText('thing');
}
}
);

0 comments on commit f1eb8b4

Please sign in to comment.