Permalink
Browse files

Test that adding an index also doesn't raise an exception.

[#4809 state:resolved]

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information...
1 parent 0baf83f commit 21957b72ea394c679d9b17e75b570cc99596322d @pupeno pupeno committed with josevalim Jun 15, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/migration_test.rb
@@ -1627,9 +1627,9 @@ def test_drop_index_from_table_named_values
connection.create_table :values, :force => true do |t|
t.integer :value
end
- connection.add_index :values, :value
assert_nothing_raised do
+ connection.add_index :values, :value
connection.remove_index :values, :column => :value
end

0 comments on commit 21957b7

Please sign in to comment.