spec/erector/convenience_spec.rb in erector-0.9.0 vs spec/erector/convenience_spec.rb in erector-0.10.0
- old
+ new
@@ -210,10 +210,10 @@
end
it "accepts extra attributes" do
erector do
url "http://example.com", :onclick=>"alert('foo')"
- end.should == "<a href=\"http://example.com\" onclick=\"alert('foo')\">http://example.com</a>"
+ end.should == "<a href=\"http://example.com\" onclick=\"alert('foo')\">http://example.com</a>"
end
end
describe "#dom_id" do