summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorChris Schlaeger <chris@linux.com>2014-11-17 01:18:28 +0100
committerChris Schlaeger <chris@linux.com>2014-11-17 01:18:28 +0100
commita053e45fe0550305c6d84fe6a5af79a15df329e3 (patch)
tree18d4bcef491bfe74d0125a21ebe508e318b1a65f /spec
parentfe7c20ba45d49c8d09d873e1bc6df026d4f260a1 (diff)
downloadpostrunner-a053e45fe0550305c6d84fe6a5af79a15df329e3.zip
Add activity type to activity summary
Diffstat (limited to 'spec')
-rw-r--r--spec/ActivitySummary_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/ActivitySummary_spec.rb b/spec/ActivitySummary_spec.rb
index 20bbd3d..b2a8938 100644
--- a/spec/ActivitySummary_spec.rb
+++ b/spec/ActivitySummary_spec.rb
@@ -17,7 +17,8 @@ describe PostRunner::ActivitySummary do
before(:each) do
@as = PostRunner::ActivitySummary.new(
- create_fit_activity('2014-08-26-19:00', 30), 'test', :metric)
+ create_fit_activity('2014-08-26-19:00', 30), :metric,
+ { :name => 'test', :type => 'Running' })
end
it 'should create a metric summary' do