It looks like the tests are passing, but maybe you should be a little
more specific in your tests. You mainly check that the nbr of records
are increased and that you get a successful response.
I would test that the correct view gets rendered, maybe that the
assign variables in the controller
2009/12/5 sanjanad d_sanja...@yahoo.com:
my tests are running with no errors..
but how do i check whether the functional tests i wrote are working..i
need please..
For each test slightly change the code in your app (not the test) so
that the test will fail, then check that it does fail.
my tests are running with no errors..
but how do i check whether the functional tests i wrote are working..i
need please..
require File.dirname(__FILE__) + '/../test_helper'
class BooksControllerTest ActionController::TestCase
def setup
@controller = BooksController.new
@request
3 matches
Mail list logo