Skip to content

Commit

Permalink
Fix copy table index test; Change == to ! on false in travis.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
vipulnsward committed Mar 21, 2013
1 parent 34c7e73 commit 5b673f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions ci/travis.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5b673f3

Please sign in to comment.