search for: first_vari

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

Did you mean: first_arg
2006 May 17
0
teardown not cleaning the BD?
...s like this: def test_delete_concept #make sure the concept record is present assert_not_nil Concept.find(concepts(:entreprise).id) #make sure the variations record is present assert_not_nil Variation.find_by_concept_id (concepts(:entreprise).id) #find a client_variation first_variation = Variation.find_by_concept_id (concepts(:entreprise).id, :limit => 1) #make sure it is present assert_not_nil ClientVariation.find_by_variation_id (first_variation.id) #delete the record from the DB get :delete_concept, {:concept_id => concepts(:entreprise).id} #se...