spec/integration/ql_spec.rb in overpass-api-ruby-0.3 vs spec/integration/ql_spec.rb in overpass-api-ruby-0.3.1
- old
+ new
@@ -1,13 +1,13 @@
require 'spec_helper'
require 'overpass_api_ruby'
describe OverpassAPI::QL do
- it "should return the right elements" do
- options={:bbox => {:s => -34.705448, :n => -34.526562,
- :w => -58.531471, :e => -58.335159},
- :timeout => 900,
- :maxsize => 10000}
+ it 'should return the right elements' do
+ options = { bbox: { s: -34.705448, n: -34.526562,
+ w: -58.531471, e: -58.335159 },
+ timeout: 900,
+ maxsize: 10_000 }
overpass = OverpassAPI::QL.new(options)
ba_query = "rel['route'='subway'];(._;>;);out body;"