Fix basic node spec

This commit is contained in:
Jonas Nicklas 2012-09-09 17:38:37 +02:00
parent ad7ba7b643
commit 46f0761aa9
1 changed files with 2 additions and 2 deletions

View File

@ -36,8 +36,8 @@ describe Capybara do
Capybara.add_selector :lifeform do
xpath { |name| "//option[contains(.,'#{name}')]" }
end
string.should have_selector(:page)
string.should_not have_selector(:'does-not-exist')
string.should have_selector(:id, "page")
string.should_not have_selector(:id, 'does-not-exist')
string.should have_selector(:lifeform, "Monkey")
string.should_not have_selector(:lifeform, "Gorilla")
end