Re: [rspec-users] webrat methods are undefined

2010-03-10 Thread Amit Kulkarni
Hello, I recently updated rspec-rails from 1.1.12 to 1.3.0 and rspec from 1.1.12 to 1.3.0 Now while running cucumber i am facing a problem. It says as 'undefined method 'visit'' my cucumber version is 0.3.99 and webrat version is 0.7.0. Before upgrading the gem it ran well but now above error is

Re: [rspec-users] webrat methods are undefined

2009-02-03 Thread Tom Hoen
I was able to download the zip file and lo...the tests ran. Thanks for all your help! Tom -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] webrat methods are undefined

2009-01-28 Thread Tom Hoen
Scott Taylor wrote: > > git clone git://github.com/zdennis/webrat.git I am sorry to be a pain, but i get the following error. Initialize webrat/.git Initialized empty Git repository in c:/projects/pospaw/vendor/plugins/webrat/.git/ fatal: read error (Invalid argument) Tom -- Posted via http

Re: [rspec-users] webrat methods are undefined

2009-01-28 Thread David Chelimsky
On Wed, Jan 28, 2009 at 3:57 PM, Scott Taylor wrote: > > On Jan 28, 2009, at 4:49 PM, Tom Hoen wrote: > >> Zach Dennis wrote: >> >>> >>> This will probably still break in webrat HEAD, I am using this branch >>> right now which includes a fix that is not in HEAD (it's waiting to be >>> merged, or f

Re: [rspec-users] webrat methods are undefined

2009-01-28 Thread Scott Taylor
On Jan 28, 2009, at 4:49 PM, Tom Hoen wrote: Zach Dennis wrote: This will probably still break in webrat HEAD, I am using this branch right now which includes a fix that is not in HEAD (it's waiting to be merged, or for another solution to take effect): http://github.com/zdennis/webrat/

Re: [rspec-users] webrat methods are undefined

2009-01-28 Thread Tom Hoen
Zach Dennis wrote: > > This will probably still break in webrat HEAD, I am using this branch > right now which includes a fix that is not in HEAD (it's waiting to be > merged, or for another solution to take effect): >http://github.com/zdennis/webrat/tree/make_current_url_fully_qualified I

Re: [rspec-users] webrat methods are undefined

2009-01-28 Thread Zach Dennis
On Wed, Jan 28, 2009 at 2:29 PM, Tom Hoen wrote: > Josh - > > I used "git clone git://github.com/brynary/webrat.git". Should I have > used a different repo? > > First, I set up the host with my subdomain > > host! "rpems.test" > > Then the steps for the admin login: > > visit "/login" > fill_in

Re: [rspec-users] webrat methods are undefined

2009-01-28 Thread Tom Hoen
Josh - I used "git clone git://github.com/brynary/webrat.git". Should I have used a different repo? First, I set up the host with my subdomain host! "rpems.test" Then the steps for the admin login: visit "/login" fill_in("login", :with => "admin") fill_in("password", :with => "test")

Re: [rspec-users] webrat methods are undefined

2009-01-28 Thread Josh Knowles
On Wed, Jan 28, 2009 at 1:37 PM, Tom Hoen wrote: > I installed the edge code (at least I believe I have) by doing a "git > clone" into the vendor/plugins/webrat folder and changing the env.rb > file to no longer require the gem. > > However, I am still getting the error. When I attempt to login to

Re: [rspec-users] webrat methods are undefined

2009-01-28 Thread Tom Hoen
> > There are a number of fixes for redirects and subdomain related > functionality which are currently tagged for the 0.4.1 release. I had > this problem after upgrading to 0.4.0, and have since updated to edge > until 0.4.1 is out. > Thanks Zach I installed the edge code (at least I believe

Re: [rspec-users] webrat methods are undefined

2009-01-28 Thread Zach Dennis
On Wed, Jan 28, 2009 at 11:55 AM, Tom Hoen wrote: > Tom Hoen wrote: >> Appears that I did not fully remove the webrat plugin, and this was >> causing the problem. >> >> Thanks again for your help. > > Perhaps I should request this in a new topic, but it could be another > simple mistake I am makin

Re: [rspec-users] webrat methods are undefined

2009-01-28 Thread Tom Hoen
Tom Hoen wrote: > Appears that I did not fully remove the webrat plugin, and this was > causing the problem. > > Thanks again for your help. Perhaps I should request this in a new topic, but it could be another simple mistake I am making. I have the following scenario Scenario: Login Given

Re: [rspec-users] webrat methods are undefined

2009-01-28 Thread Tom Hoen
Appears that I did not fully remove the webrat plugin, and this was causing the problem. Thanks again for your help. -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo

Re: [rspec-users] webrat methods are undefined

2009-01-28 Thread Tom Hoen
Hey Matt - > I should update to the new version of webrat (0.4) and cucumber (can't > remember) as this stuff has gone through some churn but stabilised > following that 0.4 release. > > Check the webrat docs, but (with that new version) I think you need to > do something like > > Webrat.configu

Re: [rspec-users] webrat methods are undefined

2009-01-28 Thread David Chelimsky
On Wed, Jan 28, 2009 at 9:15 AM, Tom Hoen 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.

Re: [rspec-users] webrat methods are undefined

2009-01-28 Thread Matt Wynne
On 28 Jan 2009, at 15:15, Tom Hoen 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 insta