Commit 987ca3796d2b76b60748d4ad8a145b73a3eaf927

Authored by Heitor
Committed by Rafael Manzo
1 parent 2799824f

Fix typo of 'Coumpound' in acceptance tests

Signed off by: Daniel Miranda <danielkza2@gmail.com>
features/compound_metric_configuration/edition.feature
@@ -23,7 +23,7 @@ Feature: Compound Metric Configuration edition @@ -23,7 +23,7 @@ Feature: Compound Metric Configuration edition
23 And I have a sample tree metric configuration within the given mezuro configuration 23 And I have a sample tree metric configuration within the given mezuro configuration
24 And I have a sample compound metric configuration within the given mezuro configuration 24 And I have a sample compound metric configuration within the given mezuro configuration
25 And I am at the Sample Configuration page 25 And I am at the Sample Configuration page
26 - When I click the edit link of the Coumpound Metric 26 + When I click the edit link of the Compound Metric
27 And I fill the Script field with "Another javascript" 27 And I fill the Script field with "Another javascript"
28 And I fill the Code field with "Another_code" 28 And I fill the Code field with "Another_code"
29 And I press the Save button 29 And I press the Save button
features/step_definitions/compound_metric_configuration_steps.rb
@@ -22,7 +22,7 @@ When(/^I visit the sample compound metric configuration edit page$/) do @@ -22,7 +22,7 @@ When(/^I visit the sample compound metric configuration edit page$/) do
22 visit edit_kalibro_configuration_compound_metric_configuration_path(kalibro_configuration_id: @compound_metric_configuration.kalibro_configuration_id, id: @compound_metric_configuration.id) 22 visit edit_kalibro_configuration_compound_metric_configuration_path(kalibro_configuration_id: @compound_metric_configuration.kalibro_configuration_id, id: @compound_metric_configuration.id)
23 end 23 end
24 24
25 -When(/^I click the edit link of the Coumpound Metric$/) do 25 +When(/^I click the edit link of the Compound Metric$/) do
26 page.find('tr', :text => @compound_metric_configuration.metric.name).click_link('Edit') 26 page.find('tr', :text => @compound_metric_configuration.metric.name).click_link('Edit')
27 end 27 end
28 28