Fix invalid CSS selectors

This commit is contained in:
Tom Hughes 2015-01-10 12:33:36 +00:00
parent 5781674c1b
commit 6af8f8a9e3
11 changed files with 153 additions and 154 deletions

View 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