[rspec-devel] Build Breaking?
dchelimsky at gmail.com
Sun Jan 7 06:26:35 EST 2007
On 1/6/07, Wilson Bilkovich <wilsonb at gmail.com> wrote:
> 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.
I'm more inclined to go w/ two versions of the file. We've discovered
bugs a couple of times because that file is so specific.
> 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.
Right. Interesting idea, but we don't want that dependency.
> rspec-devel mailing list
> rspec-devel at rubyforge.org
More information about the rspec-devel