Commit 609c94544a5ae37c1f06efb8549b01b134b3d553

Authored by Leandro Santos
1 parent 033ff0f5
Exists in fix_sign_up_form

comment forced start in install

plugins/elasticsearch/install.rb
... ... @@ -6,6 +6,6 @@ Dir[tasks_dir].each do |file|
6 6 load file
7 7 end
8 8  
9   -unless ENV['TRAVIS']
10   - Rake.application['start'].invoke
11   -end
  9 +#unless ENV['TRAVIS']
  10 +# Rake.application['start'].invoke
  11 +#end
... ...
plugins/elasticsearch/test/api/elasticsearch_plugin_entities_test.rb
... ... @@ -9,8 +9,9 @@ class ElasticsearchPluginEntitiesTest < ActiveSupport::TestCase
9 9 end
10 10  
11 11 def create_instances
  12 + Article.delete_all
12 13 user = create_user "sample person", environment_id: 1
13   -
  14 +
14 15 fast_create Community, name: "sample community", created_at: 10.days.ago,updated_at: 5.days.ago, environment_id: 1
15 16  
16 17 fast_create UploadedFile, name: "sample uploadedfile", created_at: 3.days.ago, updated_at: 1.days.ago, author_id: user.person.id, abstract: "sample abstract", profile_id: user.person.id
... ...