I am doing:

        page.should have_xpath("//img[contains(@class, 'foobar')]", :count => 0)

but cucumber tells me:

expected xpath "//img[contains(@class, 'foobar')]" to return something
(RSpec::Expectations::ExpectationNotMetError)


...  Shouldn't this be returning true/false ?

Patrick J. Collins
http://collinatorstudios.com

_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to