Skip to content

Commit

Permalink
Test that adding an index also doesn't raise an exception.
Browse files Browse the repository at this point in the history
[#4809 state:resolved]

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information
pupeno authored and josevalim committed Jun 29, 2010
1 parent 0baf83f commit 21957b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/test/cases/migration_test.rb
Expand Up @@ -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

Expand Down

0 comments on commit 21957b7

Please sign in to comment.