Skip to content

Commit

Permalink
not used assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
pjurewicz committed Oct 10, 2023
1 parent 680c3f8 commit ff0970d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/models/daily_leaderboard_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,10 @@ class DailyLeaderboardTest < ActiveSupport::TestCase
assert_equal record.points, 2
end

test "Daily leaderboard feature requires teams.time_zone to be set" do
test "Daily leaderboard feature currently requires teams.time_zone to be set" do
team = Team.register("external_id", "arkency")

GiveUpvote.new.call("Albert", "+1 Alfred", "+1", team)
record = DailyLeaderboard.last

assert_equal 0, DailyLeaderboard.count
end
Expand Down

0 comments on commit ff0970d

Please sign in to comment.