Merge branch 'master' into 4523-search-index
[arvados.git] / services / api / test / unit / arvados_model_test.rb
index 7fab34c15fee6f5459eee5a5c23c4b931dcaf432..ca9198fd98978eefddee78811ac09835364ca250 100644 (file)
@@ -87,7 +87,7 @@ class ArvadosModelTest < ActiveSupport::TestCase
     end
   end
 
-  test "unique uuid index exists on all models with the column uuid" do 
+  test "unique uuid index exists on all models with the column uuid" do
     tables = ActiveRecord::Base.connection.tables
     tables.each do |table|
       columns = ActiveRecord::Base.connection.columns(table)
@@ -140,7 +140,7 @@ class ArvadosModelTest < ActiveSupport::TestCase
         search_index = indexes.select do |index|
           index.columns == search_index_columns
         end
-        assert !search_index.empty?, "#{table} does not have search index with all searchable columns"
+        assert !search_index.empty?, "#{table} does not have search index with all searchable columns #{search_index_columns}"
       end
     end
   end