Fix failed tests

This commit is contained in:
Bing Xie
2016-05-04 12:11:03 +10:00
parent 3760a34b2b
commit e5d2e5010b
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'