From 70fa9815704d2552d9f24e1051566ad7773fda48 Mon Sep 17 00:00:00 2001 From: Chris Schlaeger <chris@linux.com> Date: Mon, 17 Nov 2014 01:42:45 +0100 Subject: Adding support for activity sub types. --- 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 b2a8938..b09f6d3 100644 --- a/spec/ActivitySummary_spec.rb +++ b/spec/ActivitySummary_spec.rb @@ -18,7 +18,8 @@ describe PostRunner::ActivitySummary do before(:each) do @as = PostRunner::ActivitySummary.new( create_fit_activity('2014-08-26-19:00', 30), :metric, - { :name => 'test', :type => 'Running' }) + { :name => 'test', :type => 'Running', + :sub_type => 'Street' }) end it 'should create a metric summary' do -- cgit v1.2.3