On Tue, Jun 2, 2009 at 11:07 AM, Jarmo Pertman <jarm...@gmail.com> wrote:
> Ok. I've created failing example.
>
> Just create project directory and spec directory into it and add there
> one spec file:
>
> describe "autospec" do
>
>        it "fails" do
>                "hi".should eql("hello")
>        end
>
> end
>
> It fails, but for autotest it is still green (thus making growl and
> snarl to report as everything is passing) and now I'm pretty sure that
> it has to do with the fact that "should eql" outputs "expected" and
> "got" result on different lines. As soon as you replace the matcher
> to: "hi".eql?("hello").should be_true - then output is on single line
> and autotest detects it as failing.
>
> Still, problem is with the regular expression provided for autotest?

Seems likely. Wanna make a proper patch w/ specs?

>
> Jarmo
>
> _______________________________________________
> rspec-users mailing list
> rspec-users@rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to