On Wed, Jan 28, 2009 at 9:15 AM, Tom Hoen <[email protected]> wrote: > I am sure it is just a configuration issue, but when I use any of the > steps in the webrat_steps.rb file, I get messages like: > > undefined method `click_link' > > I have the webrat gem installed (0.3.4). I have the aslakhellesoy-webrat > (0.3.2.2) gem installed, and I have the webrat plugin installed.
I had this problem and upgraded to webrat-0.4.0 and it went away. I think that the aslakhellesoy-webrat gem was a temporary solution to incompatibilities and is out of date at this point. HTH, David > > In my cucumber env.rb file I have the following. > require 'webrat' if !defined?(Webrat) > > # Comment out the next two lines if you're not using RSpec's matchers > (should should_not) in your steps. > require 'cucumber/rails/rspec' > #require 'webrat/rspec-rails' > > So I am sure I have munged the setup. Any advice would be appreciated. > > Not withstanding, cucumber works, just not the webrat steps > > Best, > Tom > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > rspec-users mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/rspec-users > _______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
