Commit f262e221302faf06e4c935855cd7d61b0acf48af
Committed by
Rafael Manzo
1 parent
08fef12b
Exists in
master
and in
29 other branches
[Mezuro] Fixing myprofile controller tests
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
plugins/mezuro/test/functional/mezuro_plugin_myprofile_controller_test.rb
... | ... | @@ -95,7 +95,7 @@ class MezuroPluginMyprofileControllerTest < ActionController::TestCase |
95 | 95 | should 'test compound metric edition' do #FIXME this test should test the "edit_compound_metric_configuration" action on the controller |
96 | 96 | Kalibro::Client::MetricConfigurationClient.expects(:new).returns(@metric_configuration_client) |
97 | 97 | @metric_configuration_client.expects(:save) |
98 | - get :edit_compound_metric_configuration, :profile => @profile.identifier, :configuration_name => "test name", :description => @metric.description, | |
98 | + get :edit_compound_metric_configuration, :profile => @profile.identifier, :configuration_name => "test name", :metric_name => "test metric name", :description => @metric.description, | |
99 | 99 | :scope => @metric.scope, :language => @metric.language, :metric => { :name => @metric.name}, |
100 | 100 | :metric_configuration => { :script => @compound_metric_configuration.metric.script, :code => @compound_metric_configuration.code, :weight => @compound_metric_configuration.code, :aggregation => @compound_metric_configuration.aggregation_form} |
101 | 101 | assert_response 302 | ... | ... |