Cannot save to test database

Hi all,
I am having problems writing data in the test database. I have a
functional test method that calls a method in my application, which is
creating a new object and saving it. Although! returns “true”,
nothing is written in the database…

Thanks for your help,

my method:
def test_should_add_criterion
get :add_criterion, { :id=>filters(:one).id }, {
:current_context_id=>1, :current_user_id=>1}
old_count = FilterCriterion.count

in the application:
def add_criterion
fc =! # this returns true (but no save)…

This might be due to using transactional fixtures, which does a rollback
on anything the tests do to the test db.