diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-02-19 06:01:54 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-02-19 06:01:54 +0000 |
commit | ec98a720eced989e7af2848edfd512db53e52f0c (patch) | |
tree | 49c7649ab04f0f9343ce8576d285f4bce2abbbbb /activerecord/test/cases | |
parent | 331d9c04917b19fb8b73d564eae0576b60e1ed38 (diff) | |
download | rails-ec98a720eced989e7af2848edfd512db53e52f0c.tar.gz rails-ec98a720eced989e7af2848edfd512db53e52f0c.tar.bz2 rails-ec98a720eced989e7af2848edfd512db53e52f0c.zip |
Remove mysql option from a test that applies to all databases. References #11154.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8897 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/associations/eager_load_nested_include_test.rb | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/activerecord/test/cases/associations/eager_load_nested_include_test.rb b/activerecord/test/cases/associations/eager_load_nested_include_test.rb index 106f0691b6..110a0c7630 100644 --- a/activerecord/test/cases/associations/eager_load_nested_include_test.rb +++ b/activerecord/test/cases/associations/eager_load_nested_include_test.rb @@ -11,22 +11,21 @@ class EagerLoadPolyAssocsTest < Test::Unit::TestCase def create_test_tables conn = ActiveRecord::Base.connection - options = { :force => true, :options => "Engine=MyISAM" } [:circles, :squares, :triangles, :non_poly_ones, :non_poly_twos].each do |t| - conn.create_table(t, options) { } + conn.create_table(t, :force => true) { } end - conn.create_table :shape_expressions, options do |t| + conn.create_table :shape_expressions, :force => true do |t| t.string :paint_type t.integer :paint_id t.string :shape_type t.integer :shape_id end - conn.create_table :paint_colors, options do |t| + conn.create_table :paint_colors, :force => true do |t| t.integer :non_poly_one_id end - conn.create_table :paint_textures, options do |t| + conn.create_table :paint_textures, :force => true do |t| t.integer :non_poly_two_id end end |