[rspec-users] Rspec 2, Rails 3 and Webrat

Peter Fitzgibbons peter.fitzgibbons at gmail.com
Fri Jun 11 13:45:52 EDT 2010


  remove the :type key from your describe line (it's no longer needed).

Peter Fitzgibbons
(847) 859-9550
peter.fitzgibbons at gmail.com
IM GTalk: peter.fitzgibbons
IM AOL: peter.fitzgibbons at gmail.com

On 6/11/10 12:30 PM, Rodrigo Rosenfeld Rosas wrote:
> Now I'm getting:
>
> no such file to load -- action_controller/integration
>
> Am I missing something?
>
> Thanks,
>
> Rodrigo.
>
> P.S.: Sorry if this was sent twice...
>
> Em 11-06-2010 01:10, David Chelimsky escreveu:
>> Change the directory name to requests  (a la merb)
>>
>> Sent from my iPhone
>>
>> On Jun 10, 2010, at 10:35 PM, Rodrigo Rosenfeld Rosas
>> <lbocseg at yahoo.com.br> wrote:
>>
>>> Hi guys,
>>>
>>> I'm trying to port an application to Rails 3 but can't get my
>>> integration tests to run.
>>>
>>> I can't call the Webrat's method (yields 'undefined method `visit`',
>>> for instance). I don't use Cucumber.
>>>
>>> Is there any instructions about how to configure Rspec 2 with Webrat
>>> on Rails 3?
>>>
>>> I also have a custom helper that is not working:
>>>
>>> "config.include MyApp::IntegrationHelper, :type => :integration" (the
>>> methods defined in this module are not available in the specs)
>>>
>>> Any ideas?
>>>
>>> Thanks,
>>>
>>> Rodrigo.
>>>
>>> __________________________________________________
>>> Faça ligações para outros computadores com o novo Yahoo! Messenger
>>> http://br.beta.messenger.yahoo.com/
>>> _______________________________________________
>>> 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
>
> __________________________________________________
> Fa�a liga��es para outros computadores com o novo Yahoo! Messenger 
> http://br.beta.messenger.yahoo.com/
>
>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20100611/ea9a5561/attachment-0001.html>


More information about the rspec-users mailing list