diff options
author | Chris Schlaeger <chris@linux.com> | 2014-11-17 01:18:28 +0100 |
---|---|---|
committer | Chris Schlaeger <chris@linux.com> | 2014-11-17 01:18:28 +0100 |
commit | a053e45fe0550305c6d84fe6a5af79a15df329e3 (patch) | |
tree | 18d4bcef491bfe74d0125a21ebe508e318b1a65f /spec/ActivitySummary_spec.rb | |
parent | fe7c20ba45d49c8d09d873e1bc6df026d4f260a1 (diff) | |
download | postrunner-a053e45fe0550305c6d84fe6a5af79a15df329e3.zip |
Add activity type to activity summary
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 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 |