X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/b095b59d5e0ee805e49980af80b21bd1acff1345..8024ad919c4ff4c0249d653ee3626a4b38942f3a:/test/controllers/node_controller_test.rb diff --git a/test/controllers/node_controller_test.rb b/test/controllers/node_controller_test.rb index 3d689bb3f..9663ed4fb 100644 --- a/test/controllers/node_controller_test.rb +++ b/test/controllers/node_controller_test.rb @@ -434,11 +434,11 @@ class NodeControllerTest < ActionController::TestCase assert_response :success assert_select "osm" do assert_select "node", :count => 5 - assert_select "node[id=1][visible=true]", :count => 1 - assert_select "node[id=2][visible=false]", :count => 1 - assert_select "node[id=4][visible=true]", :count => 1 - assert_select "node[id=15][visible=true]", :count => 1 - assert_select "node[id=17][visible=false]", :count => 1 + assert_select "node[id='1'][visible='true']", :count => 1 + assert_select "node[id='2'][visible='false']", :count => 1 + assert_select "node[id='4'][visible='true']", :count => 1 + assert_select "node[id='15'][visible='true']", :count => 1 + assert_select "node[id='17'][visible='false']", :count => 1 end # check error when a non-existent node is included