From a053e45fe0550305c6d84fe6a5af79a15df329e3 Mon Sep 17 00:00:00 2001 From: Chris Schlaeger Date: Mon, 17 Nov 2014 01:18:28 +0100 Subject: Add activity type to activity summary --- spec/ActivitySummary_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'spec') 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 -- cgit v1.2.3