aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/lib/tom_tom/batch_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/tom_tom/batch_spec.rb b/spec/lib/tom_tom/batch_spec.rb
index aee1a2f1d..eed8848f0 100644
--- a/spec/lib/tom_tom/batch_spec.rb
+++ b/spec/lib/tom_tom/batch_spec.rb
@@ -1,7 +1,7 @@
RSpec.describe TomTom::Batch do
let(:batch) { TomTom::Batch.new(nil) }
- describe "#convert_way_costs_for_batch" do
+ describe "#convert_way_costs" do
it "turns WayCost points into a collection of colon-separated strings" do
way_costs = [
WayCost.new(
@@ -15,7 +15,7 @@ RSpec.describe TomTom::Batch do
]
expect(
- batch.convert_way_costs_for_batch(way_costs)
+ batch.convert_way_costs(way_costs)
).to eq([
'2,48:3,46',
'-71,42:-71.5,42.9'