[rspec-devel] Fwd: rspec_on_rails (trunk - r3070) works with Rails 2.0.1

James Deville james.deville at gmail.com
Sat Dec 8 23:41:56 EST 2007



Begin forwarded message:

> From: James Deville <james.deville at gmail.com>
> Date: December 7, 2007 4:39:29 PM PST
> To: James Deville <james.deville at gmail.com>
> Subject: Re: [rspec-devel] rspec_on_rails (trunk - r3070) works with  
> Rails 2.0.1
>
> I think I just found it. I had rspec 1.0.8 unpacked as a gem in  
> vendor/gems
>
> However, now I am getting a test? spec before every group. I'll try  
> going to 3070 to see if it fixes the problem
>
> JD
> On Dec 7, 2007, at 4:18 PM, James Deville wrote:
>
>> No change.
>>
>> Jim
>>
>> On Dec 7, 2007, at 4:06 PM, David Chelimsky wrote:
>>
>>> On Dec 7, 2007 6:01 PM, James Deville <james.deville at gmail.com>  
>>> wrote:
>>>> I'm getting an error with this fix. My versions: rspec:3072
>>>> rspec_on_rails:3073
>>>
>>> You've got 2 different revisions of rspec, 3072 and 3073. Can you
>>> align those and try again?
>>>
>>>> rails:2.0.1. Formatter in this case is Specdoc
>>>>
>>>> The odd part is that debugger is telling me that BaseFormatter,
>>>> BaseTextFormatter and SpecdocFormatter all take one argument. I  
>>>> don't
>>>> have the gem installed, so I'm not sure where Ruby is getting that
>>>> from, as the code shows 2, options and where.
>>>>
>>>> Any advice on where to look, or what other information I can give  
>>>> you?
>>>>
>>>> Jim D
>>>>
>>>>
>>>> Aragorn:mydna james$ rake spec
>>>> (in /Users/james/projects/mydna)
>>>> /Users/james/projects/mydna/app/models/asset.rb:23: warning:  
>>>> Object#id
>>>> will be deprecated; use Object#object_id
>>>> ./spec/models/mailers/person_notifier_spec.rb:41: warning: already
>>>> initialized constant FIXTURES_PATH
>>>> ./spec/models/mailers/person_notifier_spec.rb:42: warning: already
>>>> initialized constant CHARSET
>>>> ./spec/models/mailers/feedback_notifier_spec.rb:4: warning: already
>>>> initialized constant FIXTURES_PATH
>>>> ./spec/models/mailers/feedback_notifier_spec.rb:5: warning: already
>>>> initialized constant CHARSET
>>>> /Users/james/projects/mydna/vendor/plugins/rspec/lib/spec/runner/
>>>> options.rb:151:in `initialize': wrong number of arguments (2 for 1)
>>>> (ArgumentError)
>>>>      from /Users/james/projects/mydna/vendor/plugins/rspec/lib/ 
>>>> spec/runner/
>>>> options.rb:151:in `new'
>>>>      from /Users/james/projects/mydna/vendor/plugins/rspec/lib/ 
>>>> spec/runner/
>>>> options.rb:151:in `formatters'
>>>>      from /Users/james/projects/mydna/vendor/plugins/rspec/lib/ 
>>>> spec/runner/
>>>> options.rb:144:in `map'
>>>>      from /Users/james/projects/mydna/vendor/plugins/rspec/lib/ 
>>>> spec/runner/
>>>> options.rb:144:in `formatters'
>>>>      from /Users/james/projects/mydna/vendor/plugins/rspec/lib/ 
>>>> spec/runner/
>>>> reporter.rb:71:in `formatters'
>>>>      from /Users/james/projects/mydna/vendor/plugins/rspec/lib/ 
>>>> spec/runner/
>>>> reporter.rb:58:in `dump'
>>>>      from /Users/james/projects/mydna/vendor/plugins/rspec/lib/ 
>>>> spec/runner/
>>>> example_group_runner.rb:37:in `finish'
>>>>      from /Users/james/projects/mydna/vendor/plugins/rspec/lib/ 
>>>> spec/runner/
>>>> example_group_runner.rb:26:in `run'
>>>>      from /Users/james/projects/mydna/vendor/plugins/rspec/lib/ 
>>>> spec/runner/
>>>> options.rb:85:in `run_examples'
>>>>      from /Users/james/projects/mydna/vendor/plugins/rspec/lib/ 
>>>> spec/runner/
>>>> command_line.rb:19:in `run'
>>>>      from /Users/james/projects/mydna/vendor/plugins/rspec/bin/ 
>>>> spec:3
>>>> rake aborted!
>>>>
>>>>
>>>> On Dec 7, 2007, at 11:32 AM, David Chelimsky wrote:
>>>>
>>>>> After a couple of quick fixes this morning, rspec_on_rails (in  
>>>>> trunk
>>>>> as of rev 3070) now works correctly with Rails 2.0.1
>>>>>
>>>>> Now that Rails 2.0 is out, we'll try to get an RSpec 1.1 release
>>>>> candidate out the door in the next few days.
>>>>>
>>>>> Cheers,
>>>>> David
>>>>> _______________________________________________
>>>>> 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
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-devel/attachments/20071208/2e02e0a9/attachment.html 


More information about the rspec-devel mailing list