From e021afdd8a53dd914852a9cfa869f1cdadd2642d Mon Sep 17 00:00:00 2001 From: Matt-Yorkley Date: Tue, 10 Jan 2017 23:53:13 +0000 Subject: [PATCH] Updated spec --- .../tag_rules/controllers/tag_rules_controller_spec.js.coffee | 2 -- 1 file changed, 2 deletions(-) diff --git a/spec/javascripts/unit/admin/tag_rules/controllers/tag_rules_controller_spec.js.coffee b/spec/javascripts/unit/admin/tag_rules/controllers/tag_rules_controller_spec.js.coffee index 7ac5cc8fbc..280ef457b7 100644 --- a/spec/javascripts/unit/admin/tag_rules/controllers/tag_rules_controller_spec.js.coffee +++ b/spec/javascripts/unit/admin/tag_rules/controllers/tag_rules_controller_spec.js.coffee @@ -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"