mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix copy table index test; Change == to ! on false in travis.rb
This commit is contained in:
parent
34c7e73c1d
commit
5b673f3d46
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
|
@ -109,7 +109,7 @@ end
|
|||
# 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 @@ end
|
|||
# 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
|
||||
|
|
Loading…
Reference in a new issue