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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
rubocop detected fixes
Jonas Jabari53265ec9b47b
diff --git a/modules/calendar/spec/features/calendar_sharing_spec.rb b/modules/calendar/spec/features/calendar_sharing_spec.rbindex 0424a082086..b8767f297a3 100644--- a/modules/calendar/spec/features/calendar_sharing_spec.rb+++ b/modules/calendar/spec/features/calendar_sharing_spec.rb@@ -142,19 +142,19 @@ RSpec.describe 'Calendar sharing via ical', js: true doit 'shows a disabled menu item' do# wait for settings button to become visibleexpect(page).to have_selector("#work-packages-settings-button")-+# click on settings buttonpage.find_by_id('work-packages-settings-button').click-- # expect disabled sharing menu item- within "#settingsDropdown" do- # expect(page).to have_button("Subscribe to iCalendar", disabled: true) # disabled selector not working- expect(page).to have_selector(".menu-item.inactive", text: "Subscribe to iCalendar")- page.click_button("Subscribe to iCalendar")- # modal should not be shown- expect(page).not_to have_selector('.spot-modal--header', text: "Subscribe to iCalendar")- end+ # expect disabled sharing menu item+ within "#settingsDropdown" do+ # expect(page).to have_button("Subscribe to iCalendar", disabled: true) # disabled selector not working+ expect(page).to have_selector(".menu-item.inactive", text: "Subscribe to iCalendar")+ page.click_button("Subscribe to iCalendar")++ # modal should not be shown+ expect(page).not_to have_selector('.spot-modal--header', text: "Subscribe to iCalendar")+ endendend