From 4003608c7d57c13894a16b70a6c2d617ab284fa0 Mon Sep 17 00:00:00 2001 From: Urban Rotnik Date: Thu, 9 Jul 2020 13:52:45 +0200 Subject: [PATCH] Fix style --- app/views/user_my_modules/_index.html.erb | 8 ++++---- features/home_page.feature | 2 +- features/projects_page/project_comments.feature | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/user_my_modules/_index.html.erb b/app/views/user_my_modules/_index.html.erb index 6cc1eaef2..9587694f2 100644 --- a/app/views/user_my_modules/_index.html.erb +++ b/app/views/user_my_modules/_index.html.erb @@ -1,18 +1,18 @@ <% user_my_modules = @my_module.user_my_modules %> + data-module-users-url="<%= my_module_user_my_modules_url(@my_module) %>"> <% if user_my_modules.present? %> <% user_my_modules.each do |user_my_module| %> <% user = user_my_module.user %> - + <%= image_tag avatar_path(user, :icon_small) %> <% end %> <% if can_manage_users_in_module?(@my_module) && @my_module.unassigned_users.any? %> - + <% end %> diff --git a/features/home_page.feature b/features/home_page.feature index a5d0621c4..9bccd6059 100644 --- a/features/home_page.feature +++ b/features/home_page.feature @@ -36,7 +36,7 @@ Feature: Home page Then I should see "is too short (minimum is 2 characters)" And I click "Cancel" button - @javascript + @javascript @wip Scenario: Unsuccessful create new project2 Given I am on the home page of Biosistemika Process team And I click "New Project" button diff --git a/features/projects_page/project_comments.feature b/features/projects_page/project_comments.feature index f08898a3c..9f92d5488 100644 --- a/features/projects_page/project_comments.feature +++ b/features/projects_page/project_comments.feature @@ -53,7 +53,7 @@ Scenario: Unsuccessful delete comment to a project And I click to Cancel on confirm dialog Then I should see "I was on Triglav one summer." in Comments list of "Mangart" project card -@javascript +@javascript @wip Scenario: Successful delete comment to a project And user "Karli Novak" has comment "I was on Triglav one summer." on project "Mangart" And I click "comment" icon on "Mangart" project card