Forked from anonymous/Simple Javascript Angular Jasmine Spec
Last active
August 29, 2015 14:04
-
-
Save mrmurphy/388264b1fae75105e1db to your computer and use it in GitHub Desktop.
This file contains 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
# Remember, this is wrong! | |
describe 'A simple Angular app testing suite', -> | |
it "should load a module from an app, and mock the module's dependency.", -> | |
module 'NameOfApp', ($provide) -> | |
$provide.value 'bar', | |
baz: -> true | |
inject 'foo', (foo) -> | |
expect(foo).not.toBe(null) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment