Permalink
Browse files

Fix copy table index test; Change == to ! on false in travis.rb

  • Loading branch information...
1 parent 34c7e73 commit 5b673f3d46f6951258e84353f9b3684ce1e331d4 @vipulnsward vipulnsward committed Mar 21, 2013
Showing with 3 additions and 3 deletions.
  1. +1 −1 activerecord/test/cases/adapters/sqlite3/copy_table_test.rb
  2. +2 −2 ci/travis.rb
@@ -90,7 +90,7 @@ def column_values(table, column)
end
def table_indexes_without_name(table)
- @connection.indexes('comments_with_index').delete(:name)
+ @connection.indexes(table).delete(:name)
end
def row_count(table)
View
@@ -109,15 +109,15 @@ def rake(*tasks)
# puts " #{`uname -a`}"
# puts " #{`ruby -v`}"
# puts " #{`mysql --version`}"
-# # puts " #{`pg_config --version`}"
+# puts " #{`pg_config --version`}"
# puts " SQLite3: #{`sqlite3 -version`}"
# `gem env`.each_line {|line| print " #{line}"}
# puts " Bundled gems:"
# `bundle show`.each_line {|line| print " #{line}"}
# puts " Local gems:"
# `gem list`.each_line {|line| print " #{line}"}
-failures = results.select { |key, value| value == false }
+failures = results.select { |key, value| !value }
if failures.empty?
puts

0 comments on commit 5b673f3

Please sign in to comment.