[Rspec-devel] warnings when running rake test

aslak hellesoy aslak.hellesoy at gmail.com
Sun Aug 27 11:32:27 EDT 2006


On 8/27/06, David Chelimsky <dchelimsky at gmail.com> wrote:
> On 8/27/06, aslak hellesoy <aslak.hellesoy at gmail.com> wrote:
> > On 8/27/06, David Chelimsky <dchelimsky at gmail.com> wrote:
> >
> > > Another weird one is in /test/spec/test_to_spec/testfiles/test_unit_api_test.rb:
> > >
> > > warning: method redefined; discarding old setup
> > >
> > > Wassup w/ that?
> > >
> >
> > def setup
> > end
> >
> > def setup
> > end
> >
>
> Yeah, but it only happens once in that file.
>

So it probably happens somewhere in a different file too. Ruby doesn't
care about what file it happens in.

> > -probably something we ought to look into
>
> Agreed.
> _______________________________________________
> Rspec-devel mailing list
> Rspec-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-devel
>


More information about the Rspec-devel mailing list