[rspec-devel] Build Breaking?

Wilson Bilkovich wilsonb at gmail.com
Sat Jan 6 23:52:19 EST 2007


On 1/6/07, Brian Takita <brian.takita at gmail.com> wrote:
> On 1/6/07, David Chelimsky <dchelimsky at gmail.com> wrote:
> >
> > This was already reported as a bug. It does seem to be related to ruby
> versions.
> >
> >
> http://rubyforge.org/tracker/index.php?func=detail&aid=7344&group_id=797&atid=3149
>
> I see. What would be a good way to make this spec less brittle?
> I can think of two things.
> 1. Make a Ruby 1.8.5 specific html file to compare against. It would need to
> be genetated because the absolute path is included in the backtrace.
> 2. Use Hpricot to specify certain parts of the document.
>

We could 'eat our own dog food' by using the assert_select port. I
suppose that would introduce a dependency between the two sections of
the project, though.


More information about the rspec-devel mailing list