Fix failed tests

This commit is contained in:
Bing Xie
2016-05-04 12:11:03 +10:00
parent 1833f0dd5d
commit 8b5e5105a8
3 changed files with 8 additions and 7 deletions

View File

@@ -10,7 +10,8 @@ describe "AdminSimpleEditOrderCycleCtrl", ->
outgoing_exchange = {}
beforeEach ->
scope = {}
scope =
$watch: jasmine.createSpy('$watch')
location =
absUrl: ->
'example.com/admin/order_cycles/27/edit'