- 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