Skip to content

Commit

Permalink
add comment for new test case
Browse files Browse the repository at this point in the history
  • Loading branch information
smo921 committed May 13, 2024
1 parent 0c2dbdc commit 4f85efe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/kennel/models/dashboard_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ def resolve(force: false)
resolve.must_be_nil
end

# Test is necessary for code coverage after adding timeseries support,
# to ensure the case statement is tested for unmatched types
it "ignores unknown widget types" do
definition[:type] = "unknown"
resolve.keys.must_equal [:requests, :type, :title]
Expand Down

0 comments on commit 4f85efe

Please sign in to comment.