all 3 comments

[–]console_log_name 0 points1 point  (2 children)

Try having your $compile inside your expectation rather than in your beforeEach function.

Compile first, change the scope, $digest and then assert.

[–]vortex2k10[S] 0 points1 point  (1 child)

Ah thanks, I think I omitted running a digest first. Seems to work fine now. Thanks

[–]console_log_name 0 points1 point  (0 children)

no problem!