[rspec-users] respond.should be_successful

Scott Taylor mailing_lists at railsnewbie.com
Wed Mar 28 20:50:27 EDT 2007


Disregard the question.  It does work.

Scott


On Mar 28, 2007, at 3:45 PM, Scott Taylor wrote:

>
> Does be_a still work? This would make the spec more readable:
>
> request.should be_a_sucess
>
> Scott
>
>
> On Mar 28, 2007, at 3:04 AM, aslak hellesoy wrote:
>
>> On 3/28/07, Scott Taylor <mailing_lists at railsnewbie.com> wrote:
>>>
>>> I'm wondering: Does it make more sense to add on successful? as an
>>> alias for success? in ActionController:TestRequest?
>>>
>>> I keep getting these two mixed up in my specs and was wondering  
>>> if it
>>> would be helpful to anyone as a small patch to rspec.
>>>
>>
>> Why don't you just alias successful yourself? I don't want to add
>> this to RSpec.
>>
>> Aslak
>>
>>> Best,
>>>
>>> Scott
>>>
>>> _______________________________________________
>>> rspec-users mailing list
>>> rspec-users at rubyforge.org
>>> http://rubyforge.org/mailman/listinfo/rspec-users
>>>
>> _______________________________________________
>> rspec-users mailing list
>> rspec-users at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/rspec-users
>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users



More information about the rspec-users mailing list