Commit a9f330af208f2bb1919b775e3cd1721dbf8786a4
1 parent
0851f743
Exists in
colab
and in
4 other branches
Fixed kalibro module names on modules tree
Signed off by: Diego Araújo <diegoamc90@gmail.com>
Showing
4 changed files
with
6 additions
and
6 deletions
Show diff stats
Gemfile.lock
app/views/modules/_module_result.html.erb
app/views/modules/_module_tree.html.erb
features/step_definitions/repository_steps.rb
... | ... | @@ -95,7 +95,7 @@ When(/^I visit the repository show page$/) do |
95 | 95 | end |
96 | 96 | |
97 | 97 | When(/^I click on the sample child's name$/) do |
98 | - click_link @module_result.children.first.kalibro_module.name | |
98 | + click_link @module_result.children.first.kalibro_module.short_name | |
99 | 99 | end |
100 | 100 | |
101 | 101 | When(/^I click the "(.*?)" h3$/) do |text| |
... | ... | @@ -118,11 +118,11 @@ Then(/^I should see the sample repository name$/) do |
118 | 118 | end |
119 | 119 | |
120 | 120 | Then(/^I should see the given module result$/) do |
121 | - expect(page).to have_content(@module_result.kalibro_module.name) | |
121 | + expect(page).to have_content(@module_result.kalibro_module.short_name) | |
122 | 122 | end |
123 | 123 | |
124 | 124 | Then(/^I should see a sample child's name$/) do |
125 | - expect(page).to have_content(@module_result.children.first.kalibro_module.name) | |
125 | + expect(page).to have_content(@module_result.children.first.kalibro_module.short_name) | |
126 | 126 | end |
127 | 127 | |
128 | 128 | Then(/^I should see the given repository's content$/) do | ... | ... |