Displaying 2 results from an estimated 2 matches for "home_controller_test".
Did you mean:
some_controller_test
2005 Dec 29
1
Posting to a separate controller in a functional test
Hi,
I need to post to a controller to log in a user in a functional test,
but I''m not sure what to do to post to a separate controller. I''ve
tried:
post { :controller => :account, :action => :do_login }, { bla bla bla }
But that doesnt seem to have worked. Help?
Mitch
--
Posted via http://www.ruby-forum.com/.
2012 May 12
0
Running Ruby on Rails with cPanel/machighway.com not working
...gems/1.8/gems/
rails-2.3.14/lib/rails/vendor_gem_source_index.rb:124.
exists app/controllers/
exists app/helpers/
create app/views/home
exists test/functional/
create test/unit/helpers/
create app/controllers/home_controller.rb
create test/functional/home_controller_test.rb
create app/helpers/home_helper.rb
create test/unit/helpers/home_helper_test.rb
create app/views/home/index.html.erb
Using VI from the terminal (still logged in via ssh) I modify the
file
app/views/home/index.html.erb so that it contains one line:
<h1>Hello, Rails!&...