provide default availableUnits to specs

This commit is contained in:
Andy Brett
2020-10-08 08:59:24 -07:00
parent 67a603f77f
commit 9bf84bd5a8
5 changed files with 19 additions and 0 deletions

View File

@@ -3,6 +3,10 @@ describe "Option Value Namer", ->
beforeEach ->
module "ofn.admin"
module "admin.products"
module ($provide)->
$provide.value "availableUnits", "g,kg,T,mL,L,kL"
null
beforeEach inject (_OptionValueNamer_) ->
OptionValueNamer = _OptionValueNamer_