I am playing with rails 3.0.6 with ruby 1.9.2, the app is working on browser but not in testing.. 1) I created a new rails application by \"rails new myapp\"
I am working with the webtest plugin as functional test component for grails. It works fine, but is very slow - the whole application has poor response times (>1min per page) when under test. My feeli
I\'m currently working on the implementation of a testsuite for a relatively complex application. The application is Java & Spring based with a web frontend. The Frontend-Tests can be written in J
Supposing I have the following action: def index @posts = Post.joins(:tags).where(:tags => {:id => params[:tag_id]})
I\'m working on a functional test that needs to assert that a certain XHTML tag is present in a certain set of controllers. I\'m basically doing this:
I\'m searching for a solution for a weird problem. I have a controller, that needs authentication (with the devise gem). I added the Devise TestHelpers but i can\'t get it working.
How do I set the request format in a functional test? I\'m trying to do something like:开发者_C百科
I\'m an intern working on a project that has the potentia开发者_开发技巧l to introduce a lot of bugs at a company with an extremely large code base. Currently the company has no automated testing impl
I have a Rails view that outputs HTML similar to this: <html> <body> <h1>Keywords</h1>
I have this test: def test_should_only_list_promoted_on_index get :index assert_equal stories(:promoted), assigns(:stories)