Commit a464c452984f9e571b8b93bff892f969ac0b8932

Authored by Carlos Morais
1 parent de5e9ad0

[mezuro] Exposing message

plugins/mezuro/test/functional/mezuro_plugin_profile_controller_test.rb
@@ -76,7 +76,7 @@ class MezuroPluginProfileControllerTest < ActionController::TestCase @@ -76,7 +76,7 @@ class MezuroPluginProfileControllerTest < ActionController::TestCase
76 end 76 end
77 77
78 should 'assign configuration and collector name in choose_metric' do 78 should 'assign configuration and collector name in choose_metric' do
79 - #TODO Mockar cliente 79 + fail "Need to mock client"
80 get :choose_metric, :profile => @profile.identifier, :configuration_name => "test name", :collector_name => "Collector A" 80 get :choose_metric, :profile => @profile.identifier, :configuration_name => "test name", :collector_name => "Collector A"
81 assert_equal assigns(:configuration_name), "test name" 81 assert_equal assigns(:configuration_name), "test name"
82 assert_equal assigns(:collector_name), "Collector A" 82 assert_equal assigns(:collector_name), "Collector A"