Created
January 25, 2016 14:36
-
-
Save teropa/deda792364e64e43e167 to your computer and use it in GitHub Desktop.
A2 ES5 spec
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
'use strict'; | |
// Unpack NG2 Jasmine wrappers | |
var describe = ng.testing.describe, | |
beforeEach = ng.testing.beforeEach, | |
beforeEachProviders = ng.testing.beforeEachProviders, | |
inject = ng.testing.inject, | |
it = ng.testing.it; | |
describe('Phones', function() { | |
beforeAll(function() { | |
ng.platform.browser.BrowserDomAdapter.makeCurrent(); | |
}); | |
beforeEachProviders(function() { | |
return [app.Phones, ng.http.HTTP_PROVIDERS] | |
}); | |
it('check the existence of Phones', inject([app.Phones], function(phones) { | |
expect(phones).toBeDefined(); | |
})); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment