Skip to content

Commit

Permalink
test: fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Miles Zhang <[email protected]>
  • Loading branch information
zmcNotafraid committed Nov 1, 2023
1 parent a09af4c commit 1645bc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/models/daily_statistic_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ class DailyStatisticTest < ActiveSupport::TestCase
test "valid_indicators should only return valid indicators" do
create(:daily_statistic)
attrs = DailyStatistic.valid_indicators.first.attribute_names + %w(burnt liquidity)
assert_equal (DailyStatistic::VALID_INDICATORS + %w(id)).sort, attrs.sort
assert_equal (DailyStatistic::VALID_INDICATORS + %w(id updated_at)).sort, attrs.sort
end
end

0 comments on commit 1645bc9

Please sign in to comment.