[rspec-devel] Tutorial

Pat Maddox pergesu at gmail.com
Wed Jun 4 22:53:56 EDT 2008


On Wed, Jun 4, 2008 at 12:15 PM, Yi Wen <hayafirst at gmail.com> wrote:
> I cloned rspec source and try to run rake, and got 4 failures after
> installing a bunch of gems. So just wonder is there any tutorial or
> instruction on how to pass all specs? Thanks.
>
> BTW: the failures are:
>
> 1)
> 'ExampleGroup with test/unit/interop with failing examples should
> return an exit code of 256' FAILED
> expected: 256,
>     got: #<Process::Status: pid=5264,exited(0)> (using ==)
> Diff:
> @@ -1,2 +1,2 @@
> -256
> +#<Process::Status: pid=5264,exited(0)>
>
> ./spec/spec/interop/test/unit/spec_spec.rb:30:
>
> 2)
> 'ExampleGroup with test/unit/interop with example that raises an error
> should return an exit code of 256' FAILED
> expected: 256,
>     got: #<Process::Status: pid=5266,exited(0)> (using ==)
> Diff:
> @@ -1,2 +1,2 @@
> -256
> +#<Process::Status: pid=5266,exited(0)>
>
> ./spec/spec/interop/test/unit/spec_spec.rb:42:
>
> 3)
> 'Test::Unit::TestCase with failing test case should return an exit
> code of 256' FAILED
> expected: 256,
>     got: #<Process::Status: pid=5270,exited(0)> (using ==)
> Diff:
> @@ -1,2 +1,2 @@
> -256
> +#<Process::Status: pid=5270,exited(0)>
>
> ./spec/spec/interop/test/unit/testcase_spec.rb:30:
>
> 4)
> 'Test::Unit::TestCase with test case that raises an error should
> return an exit code of 256' FAILED
> expected: 256,
>     got: #<Process::Status: pid=5272,exited(0)> (using ==)
> Diff:
> @@ -1,2 +1,2 @@
> -256
> +#<Process::Status: pid=5272,exited(0)>
>
>
> Yi
> _______________________________________________
> rspec-devel mailing list
> rspec-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-devel
>

I remember getting similar errors when I built some version of Ruby
myself.  It was either really old or really recent, or it was stuff
with dtrace.  What's the full ruby version info?

Pat


More information about the rspec-devel mailing list