[Rspec-devel] RSpec on Rails fubarred on edge rails?

Luke Redpath luke at agileevolved.com
Fri Aug 11 05:47:36 EDT 2006


As ever with these things it wasn't as simple as I first thought and  
I just can't track this one down.

I'm not sure if the problem is with rspec or the rails plugin.

Sorry I couldn't be of more help!

Luke Redpath
Senior Software Engineer

Agile Evolved Limited

On 10 Aug 2006, at 23:23, aslak hellesoy wrote:

> On 8/10/06, Luke Redpath <luke at agileevolved.com> wrote:
>> I'm definitely not using them.
>>
>> Its probably a simple fix so would you like me to submit a patch to
>> save some time?
>>
>
> Yes please :-)
>
> Aslak
>
>> Cheers
>> Luke
>>
>> On 10 Aug 2006, at 22:26, aslak hellesoy wrote:
>>
>>> It doesn't look like it's fucked up beyond all recognition - this is
>>> just warnings ;-)
>>>
>>> In any case - I haven't seen it (yet). I'm not near the rspec code
>>> right now, but have you checked whether your own code uses the
>>> deprecated variables - or if the rspec rails code does?
>>>
>>> Aslak
>>>
>>> On 8/10/06, Luke Redpath <luke at agileevolved.com> wrote:
>>>>
>>>> Is anybody else having problems running controller specs with edge
>>>> rails?
>>>> This is possibly an issue in 1.1.6 but I haven't been able to
>>>> confirm that.
>>>>
>>>> It relates to the deprecation of @params, @session which now throws
>>>> deprecation warnings.
>>>>
>>>> Here's some example output:
>>>>
>>>> @session is deprecated! Call session.inspect instead of
>>>> @session.inspect.
>>>> Args: [] (inspect_for_expectation_not_met_error at
>>>> /usr/local/lib/ruby/gems/1.8/gems/rspec-0.5.16/lib/spec/api/helper/
>>>> should_base.rb:10)
>>>> @flash is deprecated! Call flash.inspect instead of
>>>> @flash.inspect. Args: []
>>>> (inspect_for_expectation_not_met_error at
>>>> /usr/local/lib/ruby/gems/1.8/gems/rspec-0.5.16/lib/spec/api/helper/
>>>> should_base.rb:10)
>>>> @params is deprecated! Call params.inspect instead of
>>>> @params.inspect. Args:
>>>> [] (inspect_for_expectation_not_met_error at
>>>> /usr/local/lib/ruby/gems/1.8/gems/rspec-0.5.16/lib/spec/api/helper/
>>>> should_base.rb:10)
>>>> @session is deprecated! Call session.inspect instead of
>>>> @session.inspect.
>>>> Args: [] (inspect_for_expectation_not_met_error at
>>>> /usr/local/lib/ruby/gems/1.8/gems/rspec-0.5.16/lib/spec/api/helper/
>>>> should_base.rb:10)
>>>> @params is deprecated! Call params.inspect instead of
>>>> @params.inspect. Args:
>>>> [] (inspect_for_expectation_not_met_error at
>>>> /usr/local/lib/ruby/gems/1.8/gems/rspec-0.5.16/lib/spec/api/helper/
>>>> should_base.rb:10)
>>>> @flash is deprecated! Call flash.inspect instead of
>>>> @flash.inspect. Args: []
>>>> (inspect_for_expectation_not_met_error at
>>>> /usr/local/lib/ruby/gems/1.8/gems/rspec-0.5.16/lib/spec/api/helper/
>>>> should_base.rb:10)
>>>> F at session is deprecated! Call session.inspect instead of
>>>> @session.inspect.
>>>> Args: [] (inspect_for_expectation_not_met_error at
>>>> /usr/local/lib/ruby/gems/1.8/gems/rspec-0.5.16/lib/spec/api/helper/
>>>> should_base.rb:10)
>>>> @params is deprecated! Call params.inspect instead of
>>>> @params.inspect. Args:
>>>> [] (inspect_for_expectation_not_met_error at
>>>> /usr/local/lib/ruby/gems/1.8/gems/rspec-0.5.16/lib/spec/api/helper/
>>>> should_base.rb:10)
>>>> @flash is deprecated! Call flash.inspect instead of
>>>> @flash.inspect. Args: []
>>>> (inspect_for_expectation_not_met_error at
>>>> /usr/local/lib/ruby/gems/1.8/gems/rspec-0.5.16/lib/spec/api/helper/
>>>> should_base.rb:10)
>>>> @session is deprecated! Call session.inspect instead of
>>>> @session.inspect.
>>>> Args: [] (inspect_for_expectation_not_met_error at
>>>> /usr/local/lib/ruby/gems/1.8/gems/rspec-0.5.16/lib/spec/api/helper/
>>>> should_base.rb:10)
>>>> @flash is deprecated! Call flash.inspect instead of
>>>> @flash.inspect. Args: []
>>>> (inspect_for_expectation_not_met_error at
>>>> /usr/local/lib/ruby/gems/1.8/gems/rspec-0.5.16/lib/spec/api/helper/
>>>> should_base.rb:10)
>>>> @params is deprecated! Call params.inspect instead of
>>>> @params.inspect. Args:
>>>> [] (inspect_for_expectation_not_met_error at
>>>> /usr/local/lib/ruby/gems/1.8/gems/rspec-0.5.16/lib/spec/api/helper/
>>>> should_base.rb:10)
>>>> @session is deprecated! Call session.inspect instead of
>>>> @session.inspect.
>>>> Args: [] (inspect_for_expectation_not_met_error at
>>>> /usr/local/lib/ruby/gems/1.8/gems/rspec-0.5.16/lib/spec/api/helper/
>>>> should_base.rb:10)
>>>> @params is deprecated! Call params.inspect instead of
>>>> @params.inspect. Args:
>>>> [] (inspect_for_expectation_not_met_error at
>>>> /usr/local/lib/ruby/gems/1.8/gems/rspec-0.5.16/lib/spec/api/helper/
>>>> should_base.rb:10)
>>>> @flash is deprecated! Call flash.inspect instead of
>>>> @flash.inspect. Args: []
>>>> (inspect_for_expectation_not_met_error at
>>>> /usr/local/lib/ruby/gems/1.8/gems/rspec-0.5.16/lib/spec/api/helper/
>>>> should_base.rb:10)
>>>> @session is deprecated! Call session.inspect instead of
>>>> @session.inspect.
>>>> Args: [] (inspect_for_expectation_not_met_error at
>>>> /usr/local/lib/ruby/gems/1.8/gems/rspec-0.5.16/lib/spec/api/helper/
>>>> should_base.rb:10)
>>>> @params is deprecated! Call params.inspect instead of
>>>> @params.inspect. Args:
>>>> [] (inspect_for_expectation_not_met_error at
>>>> /usr/local/lib/ruby/gems/1.8/gems/rspec-0.5.16/lib/spec/api/helper/
>>>> should_base.rb:10)
>>>> @flash is deprecated! Call flash.inspect instead of
>>>> @flash.inspect. Args: []
>>>> (inspect_for_expectation_not_met_error at
>>>> /usr/local/lib/ruby/gems/1.8/gems/rspec-0.5.16/lib/spec/api/helper/
>>>> should_base.rb:10)
>>>>
>>>> Cheers
>>>> Luke
>>>>
>>>>
>>>> _______________________________________________
>>>> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-devel/attachments/20060811/0d4b1939/attachment-0001.html 


More information about the Rspec-devel mailing list