Fixed deprecation warnings in DataMapper specs.
Fixed deprecation warnings in DataMapper specs.

leereilly/machinist,rubyhead/machinist,emmanuel/machinist,rubyhead/machinist,amiel/machinist,dominicsayers/machinist,notahat/machinist,dominicsayers/machinist