提交 b1b9de3d 编写于 作者: R Rafael Mendonça França

Merge pull request #9847 from vipulnsward/fix_sqlite_test

Fix copy table index test; Change == to ! on false in 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)
......
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册