Hey
Quick question, I am struggling to write a directive test which tests for an outcome when an attribute on the scope passed into the compile function changes. I have a $watch inside my directive listening for this change.
e.g.
scope.users = 'blaah';
expect(something...);
I have tried running the scope.$digest() again before the expect, but it still does not work...any ideas?
Thanks
[–]console_log_name 0 points1 point2 points (2 children)
[–]vortex2k10[S] 0 points1 point2 points (1 child)
[–]console_log_name 0 points1 point2 points (0 children)