[rspec-users] ThreadError on click_button

Steve Scruggs lists at ruby-forum.com
Fri Oct 30 14:56:19 EDT 2009

I get the following error

ThreadError in 'Managing InvoicePayments viewing index lists all
stopping only thread
  note: use sleep to stop forever
(eval):2:in `click_button'

when running rake spec using rspec and rspec-rails 1.2.9 and webrat
0.5.3.  I have tried webrat 0.6.rc1 with the same results.

Here is the spec being executed:
require 'spec_helper'

describe "Managing InvoicePayments" do

  describe "viewing index" do
    it "lists all InvoicePayments" do
     visit 'sessions/new'
      fill_in "loginid", :with => "janepublic"
      fill_in "password", :with => "janepub123"
      click_button "Log in"

Any idea what could be causing this?
Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list