Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 4237692085
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (12 sloc) 0.482 kB
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]", 3)
end
it "<[foo^='bar']> should return a list of all nodes with the element" do
HTML.should have_nodes("[foo^='bar']", 3)
end
it "<[foo^=\"bar\"]> should return a list of all nodes with the element" do
HTML.should have_nodes("[foo^=\"bar\"]", 3)
end
end
Jump to Line
Something went wrong with that request. Please try again.