Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #9847 from vipulnsward/fix_sqlite_test

Fix copy table index test; Change == to ! on false in travis.rb
  • Loading branch information...
commit b1b9de3d967eef113246666c28a403f3fb75ea68 2 parents 70d0537 + 5b673f3
@rafaelfranca rafaelfranca authored
View
2  activerecord/test/cases/adapters/sqlite3/copy_table_test.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
4 ci/travis.rb
@@ -109,7 +109,7 @@ 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:"
@@ -117,7 +117,7 @@ def rake(*tasks)
# 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
Please sign in to comment.
Something went wrong with that request. Please try again.