aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2013-03-21 10:57:52 +0530
committerVipul A M <vipulnsward@gmail.com>2013-03-21 10:57:52 +0530
commit5b673f3d46f6951258e84353f9b3684ce1e331d4 (patch)
tree46182575ca060ed699dc3462f3cee56d02e6e57f /activerecord/test/cases
parent34c7e73c1def1312e59ef1f334586ff2f668246e (diff)
downloadrails-5b673f3d46f6951258e84353f9b3684ce1e331d4.tar.gz
rails-5b673f3d46f6951258e84353f9b3684ce1e331d4.tar.bz2
rails-5b673f3d46f6951258e84353f9b3684ce1e331d4.zip
Fix copy table index test; Change == to ! on false in travis.rb
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r--activerecord/test/cases/adapters/sqlite3/copy_table_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/adapters/sqlite3/copy_table_test.rb b/activerecord/test/cases/adapters/sqlite3/copy_table_test.rb
index 21fb111c91..a5a22bc30b 100644
--- a/activerecord/test/cases/adapters/sqlite3/copy_table_test.rb
+++ b/activerecord/test/cases/adapters/sqlite3/copy_table_test.rb
@@ -90,7 +90,7 @@ protected
end
def table_indexes_without_name(table)
- @connection.indexes('comments_with_index').delete(:name)
+ @connection.indexes(table).delete(:name)
end
def row_count(table)