Skip to content

Commit

Permalink
remove
Browse files Browse the repository at this point in the history
  • Loading branch information
tothandras committed Aug 14, 2014
1 parent 50f4533 commit 5347f12
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions www/waterfall_view/src/module/waterfall.route.spec.coffee
Expand Up @@ -17,10 +17,5 @@ describe 'Waterfall view', ->

it 'should register a new state with the correct configuration', ->
name = 'waterfall'
state = $state.get().pop()
data = state.data
expect(state.name).toBe(name)
expect(state.controller).toBe("#{name}Controller")
expect(state.controllerAs).toBe('w')
expect(state.templateUrl).toBe("waterfall_view/views/#{name}.html")
expect(state.url).toBe("/#{name}")
states = $state.get().map (state) -> return state.name
expect(states).toContain(name)

0 comments on commit 5347f12

Please sign in to comment.