[rspec-users] Gems installation

Mark Thomson mark.thomson at ieee.org
Mon Oct 27 11:28:16 EDT 2008


The webrat gem works for me. Do you have "require 'webrat'" in your 
features/steps/env.rb file?

Mark.



Juanma Cervera wrote:
> Hello.
>
> I have a problem trying to use cucumber with webrat.
> I thought I could use the gems versions of rspec, rspec-rails, cucumber
> and webrat, in fact I think that I could manage to do it two weeks ago,
> but now that I updated the versions of the rspec, rspec-rails and
> cucumber, I am getting a errors like this
>
> undefined method `visits' for
> #<ActionController::Integration::Session:0xb702e6a0> (NoMethodError)
>
> for all the webrat methods.
>
> Am I right.? Can I use webrat via the gem.? Or do I have to install
> webrat in vendor/plugins directory.?
>
> Thanks
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20081027/6ca83048/attachment.html>


More information about the rspec-users mailing list