Commit 033ff0f50ee79d62570605c262db368c10560ec2
1 parent
3b7fd632
Exists in
fix_sign_up_form
adapting elastic search to editor refactoring
Showing
2 changed files
with
2 additions
and
4 deletions
Show diff stats
plugins/elasticsearch/lib/ext/text_article.rb
plugins/elasticsearch/test/api/elasticsearch_plugin_entities_test.rb
... | ... | @@ -15,8 +15,8 @@ class ElasticsearchPluginEntitiesTest < ActiveSupport::TestCase |
15 | 15 | |
16 | 16 | 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 |
17 | 17 | fast_create Event, name: "sample event", created_at: 20.days.ago, updated_at: 5.days.ago, author_id: user.person.id, abstract: "sample abstract", profile_id: user.person.id |
18 | - fast_create RawHTMLArticle, name: "sample raw html article", created_at: 15.days.ago ,updated_at: 5.days.ago, author_id: user.person.id, profile_id: user.person.id | |
19 | - fast_create TinyMceArticle, name: "sample tiny mce article", created_at: 5.days.ago, updated_at: 5.days.ago, author_id: user.person.id, profile_id: user.person.id | |
18 | + fast_create TextArticle, name: "sample raw html article", created_at: 15.days.ago ,updated_at: 5.days.ago, author_id: user.person.id, profile_id: user.person.id | |
19 | + fast_create TextArticle, name: "sample tiny mce article", created_at: 5.days.ago, updated_at: 5.days.ago, author_id: user.person.id, profile_id: user.person.id | |
20 | 20 | end |
21 | 21 | |
22 | 22 | should 'show attributes from person' do | ... | ... |