Commit d6aee5f14746bf38fbfb3483d8fb13a38488c56c
Committed by
Paulo Meireles
1 parent
6397f791
Exists in
master
and in
29 other branches
Inserting a unit test to remove project from service
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
plugins/mezuro/test/unit/mezuro_plugin/project_content_test.rb
| @@ -39,4 +39,8 @@ class ProjectContentTest < Test::Unit::TestCase | @@ -39,4 +39,8 @@ class ProjectContentTest < Test::Unit::TestCase | ||
| 39 | @content.send :send_project_to_service | 39 | @content.send :send_project_to_service |
| 40 | end | 40 | end |
| 41 | 41 | ||
| 42 | + should 'remove project from service' do | ||
| 43 | + Kalibro::Client::ProjectClient.expects(:remove).with(@project.name) | ||
| 44 | + @content.send :remove_project_from_service | ||
| 45 | + end | ||
| 42 | end | 46 | end |