Commit 2e43c86afdf88a28349214a9c5bad5fbb41adf7b
Committed by
Carlos Morais
1 parent
929600e6
Exists in
master
and in
23 other branches
[Mezuro] Fix fixtures 'require'
Adding 'TODO test' for ProjectResult and ModuleResult clients
Showing
8 changed files
with
19 additions
and
1 deletions
Show diff stats
plugins/mezuro/lib/kalibro/client/module_result_client.rb
1 | class Kalibro::Client::ModuleResultClient | 1 | class Kalibro::Client::ModuleResultClient |
2 | 2 | ||
3 | + # TODO test this | ||
3 | def self.module_result(project_content, module_name) | 4 | def self.module_result(project_content, module_name) |
4 | project_result = project_content.project_result | 5 | project_result = project_content.project_result |
5 | new.module_result(project_result.project.name, module_name, project_result.date) | 6 | new.module_result(project_result.project.name, module_name, project_result.date) |
plugins/mezuro/lib/kalibro/client/project_result_client.rb
plugins/mezuro/test/fixtures/compound_metric_with_error_fixtures.rb
plugins/mezuro/test/fixtures/error_fixtures.rb
plugins/mezuro/test/fixtures/metric_result_fixtures.rb
plugins/mezuro/test/fixtures/module_result_fixtures.rb
plugins/mezuro/test/fixtures/project_result_fixtures.rb
plugins/mezuro/test/unit/kalibro/client/project_result_client_test.rb
1 | require "test_helper" | 1 | require "test_helper" |
2 | 2 | ||
3 | -require "#{RAILS_ROOT}/plugins/mezuro/test/fixtures/configuration_fixtures" | 3 | +require "#{RAILS_ROOT}/plugins/mezuro/test/fixtures/project_result_fixtures" |
4 | 4 | ||
5 | class ProjectResultClientTest < ActiveSupport::TestCase | 5 | class ProjectResultClientTest < ActiveSupport::TestCase |
6 | 6 |