Brandon Olivares wrote:
I'd appreciate it if you could let me know about the be_html_with issue when
you can though, as I like the natural language better.
Add this monkey patch below require 'assert2/xhtml':
class BeHtmlWith
def matches?(stwing, &block)
@block ||= block
@scope.wrap_expectation self do
@doc = Nokogiri::HTML(stwing)
return run_all_xpaths(build_xpaths)
end
end
end
Now, I'm off to finish manual tests of the new assert_rjs, and to pop a new
version...
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users