Created
September 4, 2014 21:06
-
-
Save rubysolo/1a434b31e92e9ef2c750 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
describe 'routes', -> | |
state = null | |
beforeEach -> | |
module 'templates' | |
module 'myApp', -> | |
inject (_$state_)-> state = _$state_ | |
it 'generates some url', -> | |
expect(state.href('some.state', {param: 'foo'})).toEqual '/some/state/foo' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment