Fix rubocop linting

pull/10061/head
Benjamin Bädorf 3 years ago
parent fd0cf99f0b
commit 6a522318fa
No known key found for this signature in database
GPG Key ID: 069CA2D117AB5CCF
  1. 3
      modules/team_planner/spec/features/team_planner_menu_spec.rb
  2. 2
      modules/team_planner/spec/support/pages/team_planner.rb

@ -29,7 +29,7 @@
#++
require 'spec_helper'
require_relative '../../../../spec/support/components/work_packages/query_menu.rb'
require_relative '../../../../spec/support/components/work_packages/query_menu'
describe 'Team planner sidemenu', type: :feature, js: true do
shared_let(:project) do
@ -70,7 +70,6 @@ describe 'Team planner sidemenu', type: :feature, js: true do
]
end
current_user { user_with_rights }
it 'hides the create team planner option if you do not have rights' do

@ -177,7 +177,7 @@ module Pages
end
def expect_no_menu_item(name)
expect(page).to_not have_selector('.op-sidemenu--item-title', text: name)
expect(page).not_to have_selector('.op-sidemenu--item-title', text: name)
end
end
end

Loading…
Cancel
Save