search for: car_1

Displaying 1 result from an estimated 1 matches for "car_1".

Did you mean: var_1
2006 Oct 26
2
Mocha and SimplyHelpful
...t::Unit::TestCase fixtures :cars def setup @controller = HmmController.new @request = ActionController::TestRequest.new @response = ActionController::TestResponse.new end # Replace this with your real tests. def test_truth get :index assert_equal "car_1", assigns(:car_dom_id) end end This is just an empty rails project running Edge Rails, i.e. rake rails:freeze:edge with the Mocha plugin (./script/plugin install svn://rubyforge.org/var/svn/mocha/trunk) and SimplyHelpful plugin (./ script/plugin install simply_helpful) installed. A...