Having some trouble writing some dm-migration specs wondered if
someone could help: i have this spec

require File.join( File.dirname(__FILE__), "..", "spec_helper" )

describe :create_departments_table, :type => :migration do

  before() do
    run_migration
  end

  it "should create a table of departments"
    repository(:default).should have_table(:department)
  end

end

and i get the following exception:

NameError in 'create_departments_table should create a table of
departments'
undefined local variable or method `run_migration' for

I know i need to require / import something any one got any ideas.

Thanks in advance

Tom
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to