[rspec-users] webrat methods are undefined
Tom Hoen
lists at ruby-forum.com
Wed Jan 28 14:29:51 EST 2009
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")
click_button("Log in")
Then i check what is returned, looking for the word "Classroom" to
indicate that the user is on the Classrooms page.
So the steps should go
http://rpems.test/
http://rpems.test/login
Then the Log In submit, which, if the login is successful (which it
appears to be), redirects to
http://rpems.test/classrooms
What else could I give you to help track down the issue (if I have
indeed installed the correct repo).
Thanks
Tom
--
Posted via http://www.ruby-forum.com/.
More information about the rspec-users
mailing list