diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2012-05-01 14:03:52 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2012-05-01 14:03:52 +0100 |
commit | e55096b063720e0be4ca8d774095d2f6dfb7c086 (patch) | |
tree | 1b3b7c743bf1963bfe7cf11270ad719072a19200 /test/tc_mauve_database_peculiarities.rb | |
parent | bb5ac2581ce9aa6a1a03c97986e91ad89f67fe3f (diff) | |
parent | fafac666b1d9f1b73fe4330af6b3c14d57ded2cb (diff) |
merge
Diffstat (limited to 'test/tc_mauve_database_peculiarities.rb')
-rw-r--r-- | test/tc_mauve_database_peculiarities.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/tc_mauve_database_peculiarities.rb b/test/tc_mauve_database_peculiarities.rb index 9eb612e..b29bd95 100644 --- a/test/tc_mauve_database_peculiarities.rb +++ b/test/tc_mauve_database_peculiarities.rb @@ -81,5 +81,14 @@ class TcMauveDatabaseSqlite3Peculiarities < TcMauveDatabasePeculiarities # @pg_conn = PGconn.open(:dbname => @temp_db) @db_url = "sqlite3::memory:" end + + # + # This just makes sure our mixin has been added to the SqliteAdapter. + # + def test_has_mixin + assert DataMapper::Adapters::SqliteAdapter.private_instance_methods.include?("with_connection_old") + assert DataMapper::Adapters::SqliteAdapter.public_instance_methods.include?("synchronize") + end + end |