Commit 7542bd256d4452ddba275496e0be589df319abc5
Committed by
Carlos Morais
1 parent
aec7550d
Exists in
master
and in
29 other branches
[mezuro] Removing test for nil module_result name
Should never invoke projcet_content.module_result with nil
Showing
2 changed files
with
0 additions
and
8 deletions
Show diff stats
plugins/mezuro/lib/mezuro_plugin/project_content.rb
plugins/mezuro/test/unit/mezuro_plugin/project_content_test.rb
... | ... | @@ -51,13 +51,6 @@ class ProjectContentTest < ActiveSupport::TestCase |
51 | 51 | assert_equal module_result, @content.module_result(module_name) |
52 | 52 | end |
53 | 53 | |
54 | - should 'get module result root when nil is given' do | |
55 | - module_result = mock | |
56 | - Kalibro::Client::ModuleResultClient.expects(:module_result).with(@content, @project.name). | |
57 | - returns(module_result) | |
58 | - assert_equal module_result, @content.module_result(nil) | |
59 | - end | |
60 | - | |
61 | 54 | should 'get module result root when project name is give' do |
62 | 55 | module_result = mock |
63 | 56 | Kalibro::Client::ModuleResultClient.expects(:module_result).with(@content, @project.name). | ... | ... |