diff --git a/plugins/mezuro/test/functional/mezuro_plugin_myprofile_controller_test.rb b/plugins/mezuro/test/functional/mezuro_plugin_myprofile_controller_test.rb index 4f4fa2c..2f062a6 100644 --- a/plugins/mezuro/test/functional/mezuro_plugin_myprofile_controller_test.rb +++ b/plugins/mezuro/test/functional/mezuro_plugin_myprofile_controller_test.rb @@ -95,7 +95,7 @@ class MezuroPluginMyprofileControllerTest < ActionController::TestCase should 'test compound metric edition' do #FIXME this test should test the "edit_compound_metric_configuration" action on the controller Kalibro::Client::MetricConfigurationClient.expects(:new).returns(@metric_configuration_client) @metric_configuration_client.expects(:save) - get :edit_compound_metric_configuration, :profile => @profile.identifier, :configuration_name => "test name", :description => @metric.description, + get :edit_compound_metric_configuration, :profile => @profile.identifier, :configuration_name => "test name", :metric_name => "test metric name", :description => @metric.description, :scope => @metric.scope, :language => @metric.language, :metric => { :name => @metric.name}, :metric_configuration => { :script => @compound_metric_configuration.metric.script, :code => @compound_metric_configuration.code, :weight => @compound_metric_configuration.code, :aggregation => @compound_metric_configuration.aggregation_form} assert_response 302 -- libgit2 0.21.2