Problems testing w/ seconds at runtime

Can you find a way to subtract the test field's time from "now", and
allow a delta of (say) 10 seconds?


Clem Rock wrote:

I'd love to use assert_in_delta but since I'm using assert_select I
can't figure out how to something similar.

assert_select yields the found elements (HTML::Node), so you can try
something like:

assert_select("pubDate") do |el|
  assert_in_delta el.to_s, ...