From d6aee5f14746bf38fbfb3483d8fb13a38488c56c Mon Sep 17 00:00:00 2001 From: Diego Araújo + João M. M. da Silva Date: Mon, 16 Jan 2012 16:58:44 +0300 Subject: [PATCH] Inserting a unit test to remove project from service --- plugins/mezuro/test/unit/mezuro_plugin/project_content_test.rb | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) diff --git a/plugins/mezuro/test/unit/mezuro_plugin/project_content_test.rb b/plugins/mezuro/test/unit/mezuro_plugin/project_content_test.rb index 8d391ea..3582ab7 100644 --- a/plugins/mezuro/test/unit/mezuro_plugin/project_content_test.rb +++ b/plugins/mezuro/test/unit/mezuro_plugin/project_content_test.rb @@ -39,4 +39,8 @@ class ProjectContentTest < Test::Unit::TestCase @content.send :send_project_to_service end + should 'remove project from service' do + Kalibro::Client::ProjectClient.expects(:remove).with(@project.name) + @content.send :remove_project_from_service + end end -- libgit2 0.21.2