Created
July 9, 2014 22:55
-
-
Save tylerjohnst/e5a956a51fbdeb733a00 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| moduleFor('controller:application', 'Application controller'); | |
| test('it has access to the currentUser object', function() { | |
| var controller = this.subject(); | |
| Ember.run(function() { | |
| var user = controller.get('currentUser'); | |
| ok(user, "User should exist but doesn't"); | |
| }); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment