Displaying 1 result from an estimated 1 matches for "requirement_1".
Did you mean:
requirement
2006 Feb 08
0
Fixture access question
Hi,
I want to add the basic model record create tests for my rails app
as in the "Agile Web Development with Rails" example:
i.e. (header stuff and boring repitition missed)
def test_create
assert_kind_of Requirement, requirements(:requirement_1)
assert_equal <at>requirements["requirement_1"]["name"],
requirements(:requirement_1).name
end
Now I''m not supposed to use <at>requirements since that''s slow but
how do I now "get" to the Fixture values, as opposed to the
Requirement cl...