diff options
author | Vipul A M <vipulnsward@gmail.com> | 2013-03-21 10:57:52 +0530 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2013-03-21 10:57:52 +0530 |
commit | 5b673f3d46f6951258e84353f9b3684ce1e331d4 (patch) | |
tree | 46182575ca060ed699dc3462f3cee56d02e6e57f | |
parent | 34c7e73c1def1312e59ef1f334586ff2f668246e (diff) | |
download | rails-5b673f3d46f6951258e84353f9b3684ce1e331d4.tar.gz rails-5b673f3d46f6951258e84353f9b3684ce1e331d4.tar.bz2 rails-5b673f3d46f6951258e84353f9b3684ce1e331d4.zip |
Fix copy table index test; Change == to ! on false in travis.rb
-rw-r--r-- | activerecord/test/cases/adapters/sqlite3/copy_table_test.rb | 2 | ||||
-rwxr-xr-x | ci/travis.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/test/cases/adapters/sqlite3/copy_table_test.rb b/activerecord/test/cases/adapters/sqlite3/copy_table_test.rb index 21fb111c91..a5a22bc30b 100644 --- a/activerecord/test/cases/adapters/sqlite3/copy_table_test.rb +++ b/activerecord/test/cases/adapters/sqlite3/copy_table_test.rb @@ -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) diff --git a/ci/travis.rb b/ci/travis.rb index b03ac4fe35..9029c3f41c 100755 --- a/ci/travis.rb +++ b/ci/travis.rb @@ -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 |