search for: acfb90d8

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

Did you mean: a2fb90dd
2006 Jan 28
1
Unit Tests Take 2
Different question this time, and maybe only a core developer can answer. In 1.0, use_instantiated_fixtures is turned off by default. What is the new best-practice for not tying your tests to your test data? Before you would use: In clients.yml first_client: id: 1 name: Fred In a test case: def test_sometest assert_equal @first_client.name, @client.name end