[rspec-devel] Tutorial

Yi Wen hayafirst at gmail.com
Thu Jun 5 02:03:30 EDT 2008


Updated to ruby 1.8.6 (2008-03-03 patchlevel 114) [i686-darwin9.2.2]

Now down to 2 failures:

'Spec::Runner::Formatter::HtmlFormatter should produce HTML identical
to the one we designed manually with --diff' FAILED

'Spec::Runner::Formatter::TextMateFormatter functional spec using
--diff should produce HTML identical to the one we designed manually
with --diff' FAILED

Any idea? Thanks

Yi

On Wed, Jun 4, 2008 at 11:40 PM, Scott Taylor
<mailing_lists at railsnewbie.com> wrote:
>
> On Jun 5, 2008, at 12:10 AM, Pat Maddox wrote:
>
>> Yeah, that's just too old.  Upgrade your XCode / custom ruby install.
>
> Actually, it looks like Darwinports now has ruby 1.8.6 patchlevel 114:
>
> scott-taylors-macbook:~ smt$ port search ruby
> subversion-rubybindings        devel/subversion-rubybindings 1.4.6
>  Ruby bindings for the subversion version control system.
> jruby                          lang/jruby     1.1.1        JRuby is an 100%
> pure-Java implementation of the Ruby programming language.
> ruby                           lang/ruby      1.8.6-p114   Powerful and
> clean object-oriented scripting language
> ruby19                         lang/ruby19    1.9.0-1      Powerful and
> clean object-oriented scripting language
> rb-bioruby                     ruby/rb-bioruby 0.6.2        Integrated
> environment for bioinformatics.
> rb-fxruby                      ruby/rb-fxruby 1.6.13       Ruby bindings for
> the FOX GUI Toolkit.
> rb-plruby                      ruby/rb-plruby 0.5.2        PL/Ruby for
> PostgreSQL
> rb-rubycon                     ruby/rb-rubycon 0.8          Toolkit for
> building concept processing and reasoning systems.
> rb-rubyforge                   ruby/rb-rubyforge 0.4.1        A simplistic
> script which automates a limited set of rubyforge operations
> rb-rubygems                    ruby/rb-rubygems 1.1.1        a package
> management framework for Ruby
> rb-rubyinline                  ruby/rb-rubyinline 3.6.2
>  Multi-language extension coding within ruby.
> rb-rubytoc                     ruby/rb-rubytoc 1.0.0.5      Ruby (subset) to
> C translator.
> rb-technorati-ruby             ruby/rb-technorati-ruby 0.1.0
>  Technorati(http://technorati.com/) bindings for Ruby.
> eruby                          www/eruby      1.0.5        Ruby embedded
> into text (HTML) pages
> mod_ruby                       www/mod_ruby   1.2.6        apache2 module
> embedding the Ruby interpreter
>
> Scott
>
>
>>
>>
>> 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
>>>
>> _______________________________________________
>> 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