mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-26 20:56:48 +00:00
15 lines
361 B
CoffeeScript
15 lines
361 B
CoffeeScript
describe "CheckoutCtrl", ->
|
|
ctrl = null
|
|
scope = null
|
|
order = null
|
|
|
|
beforeEach ->
|
|
module("Darkswarm")
|
|
order = {}
|
|
inject ($controller, $rootScope) ->
|
|
scope = $rootScope.$new()
|
|
ctrl = $controller 'CheckoutCtrl', {$scope: scope, Order: order}
|
|
|
|
it "defaults the user accordion to visible", ->
|
|
expect(scope.user).toEqual true
|