Skip to content

Commit

Permalink
Remove inline rubocop todo annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
vpereira committed Jan 28, 2021
1 parent 09ca5f1 commit 0606c6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/api/spec/controllers/webui/feeds_controller_spec.rb
Expand Up @@ -43,7 +43,7 @@

describe 'GET news' do
context 'when having status messages for admins only' do
context 'and the user checking the messages is the admin' do # rubocop:todo RSpec/NestedGroups
context 'and the user checking the messages is the admin' do
before do
(1..5).each do |n|
create(:status_message, message: "message #{n}", user: admin_user)
Expand All @@ -61,7 +61,7 @@
end
end

context 'and the user checking the messages is not the admin' do # rubocop:todo RSpec/NestedGroups
context 'and the user checking the messages is not the admin' do
let(:regular_user) { create(:confirmed_user) }
let(:status_message) { create(:status_message) }
let(:status_message_for_admins_only) { create(:status_message, :admins_only) }
Expand Down
Expand Up @@ -47,7 +47,7 @@
expect(page).to have_text(notifiable.commentable.name)
end

context 'when marking a comment notification as read' do # rubocop:todo RSpec/NestedGroups
context 'when marking a comment notification as read' do
before do
click_link("update-notification-#{notification_for_projects_comment.id}")
end
Expand Down Expand Up @@ -90,7 +90,7 @@
expect(find('.list-group-item.list-group-item-action.active')).to have_text(project.name)
end

context 'when marking a project notification as read' do # rubocop:todo RSpec/NestedGroups
context 'when marking a project notification as read' do
before do
find('#notifications-dropdown-trigger').click if mobile?
within('#filters') { click_link(project.name) }
Expand Down

0 comments on commit 0606c6f

Please sign in to comment.