Skip to content

Commit

Permalink
fix persistence spec
Browse files Browse the repository at this point in the history
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
  • Loading branch information
jimtng authored and ccutrer committed Jul 15, 2024
1 parent ec143ec commit 89891b8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions spec/openhab/core/items/persistence_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,9 @@ def call_method(method, item)
end

it "accepts a TimeSeries" do
item.persist(TimeSeries.new)
item.persist(TimeSeries.new, :influxdb)
time_series = TimeSeries.new.add(Time.now, 0)
item.persist(time_series)
item.persist(time_series, :influxdb)
end
end
end
Expand Down

0 comments on commit 89891b8

Please sign in to comment.