       expect(viewService.getDirection home, second).toBe 'normal'
       expect(viewService.getDirection second, third).toBe 'normal'
       expect(viewService.getDirection home, faroff).toBe 'normal'
+      expect(viewService.getDirection home, up).toBe 'normal'
 
     it 'should detect "reverse"', ->
       expect(viewService.getDirection second, home).toBe 'reverse'
       expect(viewService.getDirection faroff, home).toBe 'reverse'
+      expect(viewService.getDirection up, home).toBe 'reverse'
 
     it 'should detect no direction', ->
       expect(viewService.getDirection fourth, fifth).toBe null

    fifth = state.get 'fifth'
    alien = state.get 'alien'
    faroff = state.get 'faroff'


  describe 'listen', ->

        url: '/home/second/foo/bar/baz'
      .state 'alien',
        url: '/crazy/route'
      .state 'up',
        url: '/whatever'
        data: up: 'home'
    return

  viewService = null
  state = null
  scope = null

  home = second = third = fourth = fifth = alien = faroff = up =null


  beforeEach inject ($rootScope, bpView, $state) ->
