diff options
author | Chris Schlaeger <chris@linux.com> | 2014-11-17 01:42:45 +0100 |
---|---|---|
committer | Chris Schlaeger <chris@linux.com> | 2014-11-17 01:42:45 +0100 |
commit | 70fa9815704d2552d9f24e1051566ad7773fda48 (patch) | |
tree | bd8edfb43ecbd3cbea8c0ebbb8402f37a0b93f04 /spec/ActivitySummary_spec.rb | |
parent | a053e45fe0550305c6d84fe6a5af79a15df329e3 (diff) | |
download | postrunner-70fa9815704d2552d9f24e1051566ad7773fda48.zip |
Adding support for activity sub types.
Diffstat (limited to 'spec/ActivitySummary_spec.rb')
-rw-r--r-- | spec/ActivitySummary_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
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 |