summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
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