Skip to content

Commit

Permalink
remove meaningless test
Browse files Browse the repository at this point in the history
this is basically a no-op since the attribute locked is already removed
  • Loading branch information
brianburnszd committed Mar 29, 2024
1 parent 53a202e commit cf41e53
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions test/kennel/models/monitor_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -580,13 +580,6 @@ def diff_resource(e, a)
diff_resource({ type: -> { "query alert" } }, {}).must_equal []
end

describe "#locked" do
it "ignores deprecated option locked" do
expected_basic_json[:options].delete(:locked)
diff_resource({}, {}).must_equal []
end
end

describe "#escalation_message" do
it "ignores missing escalation_message" do
expected_basic_json[:options].delete(:escalation_message)
Expand Down

0 comments on commit cf41e53

Please sign in to comment.