Skip to content

Commit

Permalink
Fix basic node spec
Browse files Browse the repository at this point in the history
  • Loading branch information
jnicklas committed Sep 9, 2012
1 parent ad7ba7b commit 46f0761
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/basic_node_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
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
Expand Down

0 comments on commit 46f0761

Please sign in to comment.