Displaying 1 result from an estimated 1 matches for "hpricot_spec_help".
Did you mean:
hpricot_spec_helper
2007 Apr 30
7
Migrating spec_helper with modifications
...into the HEAD of rspec, I am greeted with a mountain of errors,
which I expected, due to my specs not being migrated.
I use hpricot for a lot of my view tests, as it is extremely simple to
traverse the DOM with it. I used to include HpricotSpecHelper in
spec_helper.rb, like so:
require ''hpricot_spec_helper''
module Spec
module Rails
module Runner
class EvalContext < Test::Unit::TestCase
include HpricotSpecHelper
end
end
end
end
However, I am now getting errors that indicate that this inclusion no longer
does what I want. Is there a different class in wh...