diff options
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 2d93e12..b79fc8c 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -80,6 +80,10 @@ def create_fit_activity(config) ts = Time.parse(config[:t]) serial = config[:serial] || 12345890 a = Fit4Ruby::Activity.new({ :timestamp => ts }) + a.new_file_id({ :manufacturer => 'garmin', + :time_created => ts, + :garmin_product => 'fr920xt', + :serial_number => serial }) a.total_timer_time = (config[:duration] || 10) * 60 a.new_user_profile({ :timestamp => ts, :age => 33, :height => 1.78, :weight => 73.0, |