Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

DataMapper test: Make sure we call finalize only if available.

  • Loading branch information...
commit df19d8f316d144d4eaefdc5d5518ddb74117c9b9 1 parent a0ef501
@tomas authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/datamapper.rb
View
2  test/datamapper.rb
@@ -78,4 +78,4 @@ class Song
DataMapper.auto_migrate!
end
-DataMapper.finalize
+DataMapper.finalize if DataMapper.respond_to?(:finalize)
Please sign in to comment.
Something went wrong with that request. Please try again.