]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/node_controller_test.rb
Fix invalid CSS selectors
[rails.git] / test / controllers / node_controller_test.rb
index 3d689bb3f4f5f236f90b2a70ed2cd449b27bc664..9663ed4fb76a63db1c4e6a979aaddca6bf477808 100644 (file)
@@ -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