I get the following error
ThreadError in 'Managing InvoicePayments viewing index lists all
InvoicePayments'
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"
end
end
end
Any idea what could be causing this?
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users