Move navigation spec to services dir

This commit is contained in:
Rohan Mitchell
2014-06-27 11:34:02 +10:00
parent f8d51c3105
commit b678a2f7fd

View File

@@ -0,0 +1,11 @@
describe 'Navigation service', ->
Navigation = null
beforeEach ->
module 'Darkswarm'
inject ($injector)->
Navigation = $injector.get("Navigation")
it "caches the path provided", ->
Navigation.navigate "/foo"
expect(Navigation.path).toEqual "/foo"