Displaying 1 result from an estimated 1 matches for "new_concept".
2006 May 19
1
Need help with a test
...tion.name_en
new_client_variation.save
end
flash[:notice] = "Concept linked"
redirect_to(:action => "list")
end
it is working fine when I use it in dev, but when I run this test (see
next), it fails:
def test_link_concept
#create a new concept
new_concept = Concept.new
new_concept.name = "concept a lier"
new_concept.description = "ce concept va etre lie"
new_concept.save
#give it a variation
new_variation = Variation.new
new_variation.name_fr = "nom de la variation"
new_variation.description...