Updated spec

This commit is contained in:
Matt-Yorkley
2017-01-10 23:53:13 +00:00
parent 5150025641
commit e021afdd8a

View File

@@ -28,8 +28,6 @@ describe "TagRulesCtrl", ->
scope.addNewRuleTo(scope.tagGroups[0], "DiscountOrder")
it "adds a new rule of the specified type to the rules array for the tagGroup", ->
expect(scope.enterprise_form.$setDirty).toHaveBeenCalled()
expect(scope.tagGroups[0].rules.length).toEqual 3
expect(scope.tagGroups[0].rules[2].type).toEqual "TagRule::DiscountOrder"