summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorChris Schlaeger <chris@linux.com>2018-01-17 08:24:22 +0100
committerChris Schlaeger <chris@linux.com>2018-01-17 08:24:22 +0100
commitb6a9cf173367a438681a86df710a6c1acbe9e3f7 (patch)
tree246a6e6d9385a171049845130914c023265d7d29 /spec/spec_helper.rb
parentf370ea6a34bdd4d6d00fe8a3a238f26768917289 (diff)
downloadpostrunner-b6a9cf173367a438681a86df710a6c1acbe9e3f7.zip
Fix: Don't use a symbol to store the unit system
Recent versions of PEROBS don't support this anymore.
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index b79fc8c..3af954f 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -56,7 +56,7 @@ def create_fit_file_store
store['config'] = store.new(PEROBS::Hash)
store['config']['data_dir'] = @work_dir
store['config']['html_dir'] = @html_dir
- store['config']['unit_system'] = :metric
+ store['config']['unit_system'] = 'metric'
@ffs = store['file_store'] = store.new(PostRunner::FitFileStore)
@records = store['records'] = store.new(PostRunner::PersonalRecords)
end