Skip to content

Instantly share code, notes, and snippets.

@kamal
Created May 7, 2009 02:34
Show Gist options
  • Save kamal/107888 to your computer and use it in GitHub Desktop.
Save kamal/107888 to your computer and use it in GitHub Desktop.
MacBook-Pro:webrat(jruby-nokogiri) kamal$ rake spec:jruby
(in /Users/kamal/src/webrat)
(in /Users/kamal/src/webrat)
.............................................................*..........................................*......********..........................................**......**...........................................................................................................................F.............................................................
Pending:
click_button should properly handle HTML entities in textarea default values (needs bug fix)
spec/public/click_button_spec.rb:333
click_link should not match on non-text contents (needs fix)
spec/public/click_link_spec.rb:363
click_link should matches_text? on regexp (need to update these)
spec/public/click_link_spec.rb:445
click_link should matches_text? on link_text (need to update these)
spec/public/click_link_spec.rb:452
click_link should matches_text? on substring (need to update these)
spec/public/click_link_spec.rb:459
click_link should not matches_text? on link_text case insensitive (need to update these)
spec/public/click_link_spec.rb:466
click_link should match text not include   (need to update these)
spec/public/click_link_spec.rb:475
click_link should not matches_text? on wrong text (need to update these)
spec/public/click_link_spec.rb:482
click_link should match text including character reference (need to update these)
spec/public/click_link_spec.rb:492
click_link should match img link (need to update these)
spec/public/click_link_spec.rb:503
select should properly handle submitting HTML entities in select values (needs bug fix)
spec/public/select_spec.rb:203
select should properly handle locating with HTML entities in select values (needs bug fix)
spec/public/select_spec.rb:220
set_hidden_field needs specs (Not Yet Implemented)
spec/public/set_hidden_field_spec.rb:4
submit_form needs specs (Not Yet Implemented)
spec/public/submit_form_spec.rb:4
1)
'Webrat::Field should have nice inspect output' FAILED
expected: /#<Webrat::CheckboxField @element=<input type=['"]checkbox['"] checked(=['"]checked['"])?\/?>>/,
got: "#<Webrat::CheckboxField @element=#<Nokogiri::XML::Element:0x210cdea0 @document=#<Nokogiri::HTML::Document:0x2871977e>, @cstruct=#<Nokogiri::LibXML::XmlNode:0x123ff1d6>>>" (using =~)
Diff:
@@ -1,2 +1,2 @@
-/#<Webrat::CheckboxField @element=<input type=['"]checkbox['"] checked(=['"]checked['"])?\/?>>/
+"#<Webrat::CheckboxField @element=#<Nokogiri::XML::Element:0x210cdea0 @document=#<Nokogiri::HTML::Document:0x2871977e>, @cstruct=#<Nokogiri::LibXML::XmlNode:0x123ff1d6>>>"
spec/private/core/field_spec.rb:14:
Finished in 4.463 seconds
356 examples, 1 failure, 14 pending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment