1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-04 04:55:20 +02:00

Fix spacing in time series tests

This commit is contained in:
Jose Farias 2024-04-18 18:09:03 -06:00
parent e175aa9b49
commit 3c4bdb6bef
2 changed files with 8 additions and 7 deletions

View file

@ -7,6 +7,7 @@ class TimeSeries::TrendTest < ActiveSupport::TestCase
assert_equal Money.new(50), trend.value
assert_equal 100.0, trend.percent
end
test "up" do
trend = TimeSeries::Trend.new(current: 100, previous: 50)
assert_equal "up", trend.direction