Skip to content

Commit

Permalink
DataMapper test: Make sure we call finalize only if available.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomas committed Apr 19, 2012
1 parent a0ef501 commit df19d8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/datamapper.rb
Expand Up @@ -78,4 +78,4 @@ class Song
DataMapper.auto_migrate!
end

DataMapper.finalize
DataMapper.finalize if DataMapper.respond_to?(:finalize)

0 comments on commit df19d8f

Please sign in to comment.