search for: migration_a

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

Did you mean: migration_
2008 May 18
2
Using Hash to mock classes that respond to :
...sh. (Similarly, you could create an array when you are testing an Enumerable object.) Example from code I just worked on, where uses MigrationGraph#[] looks up graph vertices by name: @migration_graph = { # "name" => vertex "changeset 1 migration 1" => @migration_a, "changeset 1 migration 2" => @migration_b, "changeset 2 migration 1" => @migration_c, "changeset 2 migration 2" => @migration_d } What I''m really interested in is what happens to (some of) the four migrations, not the migration g...