Sha256: de6933a40c8db7f3ef7d17bb0a01d4816c7984c1edf9c237da6360142a67d4bd
Contents?: true
Size: 444 Bytes
Versions: 16
Compression:
Stored size: 444 Bytes
Contents
Ember.Test.registerAsyncHelper "authenticateSession", (app) -> stubAjax 'GET', '/api/users/1', 200, FIXTURES.user(1) session = app.__container__.lookup('simple-auth-session:main') session.authenticate "simple-auth-authenticator:test" wait() Ember.Test.registerAsyncHelper "invalidateSession", (app) -> session = app.__container__.lookup('simple-auth-session:main') session.invalidate() if session.get("isAuthenticated") wait()
Version data entries
16 entries across 16 versions & 1 rubygems