From a0e5dc6f3baea719f3285b981f84657d67efc14a Mon Sep 17 00:00:00 2001 From: Rafael Reggiani Manzo + Diego Araujo Date: Fri, 30 Mar 2012 15:35:29 -0300 Subject: [PATCH] [mezuro] Fixed "send correct project to service" test. --- plugins/mezuro/test/unit/mezuro_plugin/project_content_test.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 b38388f..4a7cc5b 100644 --- a/plugins/mezuro/test/unit/mezuro_plugin/project_content_test.rb +++ b/plugins/mezuro/test/unit/mezuro_plugin/project_content_test.rb @@ -13,6 +13,7 @@ class ProjectContentTest < ActiveSupport::TestCase @content.repository_type = @project.repository.type @content.repository_url = @project.repository.address @content.configuration_name = @project.configuration_name + @content.periodicity_in_days = 1 end should 'be an article' do @@ -71,7 +72,7 @@ class ProjectContentTest < ActiveSupport::TestCase should 'send correct project to service' do Kalibro::Client::ProjectClient.expects(:save).with(@content) - Kalibro::Client::KalibroClient.expects(:process_project).with(@content.name) + Kalibro::Client::KalibroClient.expects(:process_project).with(@content.name, @content.periodicity_in_days) @content.send :send_project_to_service end -- libgit2 0.21.2