Commit 873bf3f01394d0a411daeefd0131af866e9697d1
1 parent
388eb585
Exists in
fix_sign_up_form
Elasticsearch: Updated readme
Signed-off-by: Macartur Sousa <macartur.sc@gmail.com>
Showing
1 changed file
with
12 additions
and
2 deletions
Show diff stats
plugins/elasticsearch/README.md
| @@ -30,7 +30,7 @@ Enable plugin | @@ -30,7 +30,7 @@ Enable plugin | ||
| 30 | 30 | ||
| 31 | Execute the command to enable Elasticsearch Plugin at your noosfero: | 31 | Execute the command to enable Elasticsearch Plugin at your noosfero: |
| 32 | 32 | ||
| 33 | - $ ./script/noosfero-plugins enable elasticsearch | 33 | + ``sh $ ./script/noosfero-plugins enable elasticsearch `` |
| 34 | 34 | ||
| 35 | Active plugin | 35 | Active plugin |
| 36 | ------------- | 36 | ------------- |
| @@ -45,4 +45,14 @@ DEVELOPMENT | @@ -45,4 +45,14 @@ DEVELOPMENT | ||
| 45 | 45 | ||
| 46 | To run tests for Elasticsearch: | 46 | To run tests for Elasticsearch: |
| 47 | 47 | ||
| 48 | -Use command 'rspec' | 48 | +- All elasticsearch Tests: |
| 49 | + | ||
| 50 | +``` | ||
| 51 | +$ rake test:noosfero_plugins:elasticsearch:units | ||
| 52 | +``` | ||
| 53 | + | ||
| 54 | +- One Test: | ||
| 55 | + | ||
| 56 | +``` | ||
| 57 | +$ rake test:units TEST=plugins/elasticsearch/test/unit/controllers/elasticsearch_plugin_controller_test.rb | ||
| 58 | +``` |