diff --git a/Gemfile.lock b/Gemfile.lock index 3e151bb..f98cd7c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -154,7 +154,7 @@ GEM jquery-ui-rails (5.0.3) railties (>= 3.2.16) json (1.8.2) - kalibro_client (0.0.2) + kalibro_client (0.0.3) activesupport (>= 2.2.1) faraday_middleware (~> 0.9.0) konacha (3.3.0) diff --git a/app/views/modules/_module_result.html.erb b/app/views/modules/_module_result.html.erb index 26ad42e..ea20958 100644 --- a/app/views/modules/_module_result.html.erb +++ b/app/views/modules/_module_result.html.erb @@ -9,4 +9,4 @@ <%= module_result.kalibro_module.granularity %> <%= format_grade(module_result.grade) %> - \ No newline at end of file + diff --git a/app/views/modules/_module_tree.html.erb b/app/views/modules/_module_tree.html.erb index 241f4bb..bce43d4 100644 --- a/app/views/modules/_module_tree.html.erb +++ b/app/views/modules/_module_tree.html.erb @@ -28,4 +28,4 @@ <% end %> -<% end %> \ No newline at end of file +<% end %> diff --git a/features/step_definitions/repository_steps.rb b/features/step_definitions/repository_steps.rb index e438f5f..daa52e3 100644 --- a/features/step_definitions/repository_steps.rb +++ b/features/step_definitions/repository_steps.rb @@ -95,7 +95,7 @@ When(/^I visit the repository show page$/) do end When(/^I click on the sample child's name$/) do - click_link @module_result.children.first.kalibro_module.name + click_link @module_result.children.first.kalibro_module.short_name end When(/^I click the "(.*?)" h3$/) do |text| @@ -118,11 +118,11 @@ Then(/^I should see the sample repository name$/) do end Then(/^I should see the given module result$/) do - expect(page).to have_content(@module_result.kalibro_module.name) + expect(page).to have_content(@module_result.kalibro_module.short_name) end Then(/^I should see a sample child's name$/) do - expect(page).to have_content(@module_result.children.first.kalibro_module.name) + expect(page).to have_content(@module_result.children.first.kalibro_module.short_name) end Then(/^I should see the given repository's content$/) do -- libgit2 0.21.2