Skip to content

Commit

Permalink
[BUGFIX beta] Add test for #18693
Browse files Browse the repository at this point in the history
  • Loading branch information
GCheung55 authored and rwjblue committed Feb 21, 2020
1 parent b5276d3 commit 0933925
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 0933925

Please sign in to comment.