aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/copy_table_test_sqlite.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/copy_table_test_sqlite.rb')
-rw-r--r--activerecord/test/copy_table_test_sqlite.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/test/copy_table_test_sqlite.rb b/activerecord/test/copy_table_test_sqlite.rb
index 6da041522f..a25780e6be 100644
--- a/activerecord/test/copy_table_test_sqlite.rb
+++ b/activerecord/test/copy_table_test_sqlite.rb
@@ -42,6 +42,10 @@ class CopyTableTest < Test::Unit::TestCase
end
end
+ def test_copy_table_without_primary_key
+ test_copy_table('developers_projects', 'programmers_projects')
+ end
+
protected
def copy_table(from, to, options = {})
@connection.copy_table(from, to, {:temporary => true}.merge(options))