test/dummy/spec/base/base_spec.rb in gmaps4rails-0.9.1 vs test/dummy/spec/base/base_spec.rb in gmaps4rails-0.10.0.pre1

- old
+ new

@@ -85,12 +85,12 @@ it "should create the proper text (used as js)" do @options = { "map_options" => { "type" => "SATELLITE", "center_longitude" => 180, "zoom" => 3, "auto_adjust" => true}, "markers" => { "data" => '[{ "description": "", "title": "", "longitude": "5.9311119", "latitude": "43.1251606", "picture": "", "width": "", "height": "" } ,{ "description": "", "title": "", "longitude": "2.3509871", "latitude": "48.8566667", "picture": "", "width": "", "height": "" } ]', - "options" => { "do_clustering" => false, "list_container" => "makers_list" } - }, + "options" => { "do_clustering" => false, "list_container" => "makers_list" } + }, "polylines" => { "data" => '[[ {"longitude": -122.214897, "latitude": 37.772323}, {"longitude": -157.821856, "latitude": 21.291982}, {"longitude": 178.431, "latitude": -18.142599}, {"longitude": 153.027892, "latitude": -27.46758} @@ -106,10 +106,10 @@ ]]' }, "circles" => { "data" => '[ {"longitude": -122.214897, "latitude": 37.772323, "radius": 1000000}, {"longitude": 122.214897, "latitude": 37.772323, "radius": 1000000, "strokeColor": "#FF0000"} ]', - }, + }, "direction" => { "data" => { "from" => "toulon, france", "to" => "paris, france"} , "options" => {"waypoints" => ["toulouse, france", "brest, france"], "travelMode" => "DRIVING", "display_panel" => true, "panel_id" => "instructions"} } }