diff options
author | Chris Schlaeger <chris@linux.com> | 2014-08-30 22:34:38 +0200 |
---|---|---|
committer | Chris Schlaeger <chris@linux.com> | 2014-08-30 22:34:38 +0200 |
commit | b7055f4c4b3522aeef095baf6ec464679f28d88d (patch) | |
tree | 15d82985edbea6110bb53a87a015364fb8720d1c /spec | |
parent | 7d0f1effd35a6b65bec9e65cff9ccbe1d6ad02ea (diff) | |
download | postrunner-b7055f4c4b3522aeef095baf6ec464679f28d88d.zip |
Only show pace for running, speed otherwise.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/spec_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 1bd2c43..67620f3 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -38,7 +38,7 @@ def create_fit_activity(date, duration_minutes) end ts += 60 end - a.new_session({ :timestamp => ts }) + a.new_session({ :timestamp => ts, :sport => 'running' }) a.new_event({ :timestamp => ts, :event => 'recovery_time', :event_type => 'marker', :data => 2160 }) |