Skip to content

Commit

Permalink
[BUGFIX beta] Add test for #18693
Browse files Browse the repository at this point in the history
(cherry picked from commit 0933925)
  • Loading branch information
GCheung55 authored and kategengler committed Feb 25, 2020
1 parent a125917 commit 41c2ed8
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -285,5 +285,14 @@ 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 41c2ed8

Please sign in to comment.