summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorChris Schlaeger <chris@linux.com>2014-08-30 22:34:38 +0200
committerChris Schlaeger <chris@linux.com>2014-08-30 22:34:38 +0200
commitb7055f4c4b3522aeef095baf6ec464679f28d88d (patch)
tree15d82985edbea6110bb53a87a015364fb8720d1c /spec
parent7d0f1effd35a6b65bec9e65cff9ccbe1d6ad02ea (diff)
downloadpostrunner-b7055f4c4b3522aeef095baf6ec464679f28d88d.zip
Only show pace for running, speed otherwise.
Diffstat (limited to 'spec')
-rw-r--r--spec/spec_helper.rb2
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 })