summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorChris Schlaeger <chris@linux.com>2014-11-17 01:42:45 +0100
committerChris Schlaeger <chris@linux.com>2014-11-17 01:42:45 +0100
commit70fa9815704d2552d9f24e1051566ad7773fda48 (patch)
treebd8edfb43ecbd3cbea8c0ebbb8402f37a0b93f04 /spec
parenta053e45fe0550305c6d84fe6a5af79a15df329e3 (diff)
downloadpostrunner-70fa9815704d2552d9f24e1051566ad7773fda48.zip
Adding support for activity sub types.
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 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