Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (12 sloc) 482 Bytes
require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper"))
describe "$=" do
it "<[foo$=bar]> should return a list of all nodes with the element" do
HTML.should have_nodes("[foo$=bar]", 2)
end
it "<[foo$='bar']> should return a list of all nodes with the element" do
HTML.should have_nodes("[foo$='bar']", 2)
end
it "<[foo$=\"bar\"]> should return a list of all nodes with the element" do
HTML.should have_nodes("[foo$=\"bar\"]", 2)
end
end
Something went wrong with that request. Please try again.