Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

solve code climate errors

bsatarnejad6e5ecd339b98
diff --git a/modules/boards/spec/features/board_navigation_spec.rb b/modules/boards/spec/features/board_navigation_spec.rb
index be5879cf3ee..ed68febc257 100644
--- a/modules/boards/spec/features/board_navigation_spec.rb
+++ b/modules/boards/spec/features/board_navigation_spec.rb
@@ -159,8 +159,8 @@ describe 'Work Package boards spec', type: :feature, js: true do
split_view.expect_subject
# Go to full view of WP
- full_view = split_view.switch_to_fullscreen
- find('#action-show-more-dropdown-menu').click();
+ split_view.switch_to_fullscreen
+ find('#action-show-more-dropdown-menu').click
# Delete the WP
destroy_modal.expect_listed(wp)
@@ -168,6 +168,6 @@ describe 'Work Package boards spec', type: :feature, js: true do
click_button(I18n.t('button_delete'))
board_page.expect_empty
- expect(page).to have_current_path
+ expect(page).to have_current_path
end
end