Commit 0b49435653311bb3682cf29f31d818e8f3a97794
Committed by
Rafael Manzo
1 parent
3fd1304b
Exists in
colab
and in
4 other branches
Fixed metric configuration listing acceptance tests
Signed off by: Diego Araújo <diegoamc90@gmail.com>
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/views/kalibro_configurations/_metric_configurations.html.erb
| 1 | 1 | <tr> |
| 2 | 2 | <td><%= metric_configuration.metric.name %></td> |
| 3 | - <td><%= metric_configuration.code %></td> | |
| 3 | + <td><%= metric_configuration.metric.code %></td> | |
| 4 | 4 | <td><%= metric_configuration.weight %></td> |
| 5 | 5 | <td> |
| 6 | 6 | <%= link_to_show_page(metric_configuration, @kalibro_configuration.id) %> | ... | ... |
features/step_definitions/metric_configuration_steps.rb
| ... | ... | @@ -28,7 +28,7 @@ end |
| 28 | 28 | |
| 29 | 29 | Then(/^I should see the sample metric configuration content$/) do |
| 30 | 30 | expect(page).to have_content(@metric_configuration.metric.name) |
| 31 | - expect(page).to have_content(@metric_configuration.code) | |
| 31 | + expect(page).to have_content(@metric_configuration.metric.code) | |
| 32 | 32 | expect(page).to have_content(@metric_configuration.weight) |
| 33 | 33 | end |
| 34 | 34 | ... | ... |