[rspec-devel] Tutorial

Pat Maddox pergesu at gmail.com
Thu Jun 5 00:10:38 EDT 2008


Yeah, that's just too old.  Upgrade your XCode / custom ruby install.

Pat

On Wed, Jun 4, 2008 at 7:59 PM, Yi Wen <hayafirst at gmail.com> wrote:
> ruby --version
> ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-darwin8.10.3]
>
> OS is leopard, upgraded from Tiger.
>
> Thanks
>
> On Wed, Jun 4, 2008 at 9:53 PM, Pat Maddox <pergesu at gmail.com> wrote:
>> 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
>> _______________________________________________
>> rspec-devel mailing list
>> rspec-devel at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/rspec-devel
>>
> _______________________________________________
> rspec-devel mailing list
> rspec-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-devel
>


More information about the rspec-devel mailing list