From 180144a4b3228018213a8cd25c667690e7f66d75 Mon Sep 17 00:00:00 2001 From: Chris Schlaeger Date: Sun, 3 Aug 2014 22:11:15 +0200 Subject: API changes in fit4ruby --- spec/PostRunner_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'spec/PostRunner_spec.rb') diff --git a/spec/PostRunner_spec.rb b/spec/PostRunner_spec.rb index cd21f7c..06a8a66 100644 --- a/spec/PostRunner_spec.rb +++ b/spec/PostRunner_spec.rb @@ -18,16 +18,16 @@ describe PostRunner::Main do a.timestamp = Time.parse(date) a.total_timer_time = 30 * 60 0.upto(30) do |mins| - r = a.new_record + r = a.new_record('record') r.timestamp = a.timestamp + mins * 60 r.distance = 200.0 * mins r.cadence = 75 if mins > 0 && mins % 5 == 0 - s = a.new_lap + s = a.new_record('laps') end end - a.new_session + a.new_record('session') a.aggregate Fit4Ruby.write(name, a) end -- cgit v1.2.3