[rspec-users] textmate => pass, autotest => failing specs ???
Matt Berther
matt at mattberther.com
Tue Apr 15 13:02:10 EDT 2008
HI Giuseppe,
I had a similar situation, only reversed. All ran with autotest, but
failed in Textmate. I found the problem was in how I was including
some helper modules and correcting that solved the problem.
On Tue, Apr 15, 2008 at 9:20 AM, Giuseppe Bertini <lists at ruby-forum.com> wrote:
> Hi all,
> I hope I can get a quick pointer about the following problem:
>
> I have a controller spec with 38 examples, all green if run from
> *within* TextMate.
>
> >From the shell, however (through either rake or autotest) I get a
> handful of pink errors.
>
> For example, I get a few TypeErrors ("can't convert Note into Array")
> that appear to be raised while my index action is paginating records,
> but I am obviously NOT asking help on the specific issue.
>
> Rather, I'd like to know in general how to address such a discrepancy
> between environments in the outcome of my tests.
>
> Thanks heaps!
> Giuseppe
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
--
Matt Berther
http://www.mattberther.com
More information about the rspec-users
mailing list