Fix `RSpec/EmptyExampleGroup` cop (#24735)

th-downstream
Matt Jankowski 1 year ago committed by GitHub
parent 55e88a969a
commit 756255b88e

@ -183,41 +183,6 @@ RSpec/AnyInstance:
- 'spec/workers/activitypub/delivery_worker_spec.rb'
- 'spec/workers/web/push_notification_worker_spec.rb'
# This cop supports unsafe autocorrection (--autocorrect-all).
RSpec/EmptyExampleGroup:
Exclude:
- 'spec/helpers/admin/action_logs_helper_spec.rb'
- 'spec/models/account_alias_spec.rb'
- 'spec/models/account_deletion_request_spec.rb'
- 'spec/models/account_moderation_note_spec.rb'
- 'spec/models/announcement_mute_spec.rb'
- 'spec/models/announcement_reaction_spec.rb'
- 'spec/models/announcement_spec.rb'
- 'spec/models/backup_spec.rb'
- 'spec/models/conversation_mute_spec.rb'
- 'spec/models/custom_filter_keyword_spec.rb'
- 'spec/models/custom_filter_spec.rb'
- 'spec/models/device_spec.rb'
- 'spec/models/encrypted_message_spec.rb'
- 'spec/models/featured_tag_spec.rb'
- 'spec/models/follow_recommendation_suppression_spec.rb'
- 'spec/models/list_account_spec.rb'
- 'spec/models/list_spec.rb'
- 'spec/models/login_activity_spec.rb'
- 'spec/models/mute_spec.rb'
- 'spec/models/preview_card_spec.rb'
- 'spec/models/preview_card_trend_spec.rb'
- 'spec/models/relay_spec.rb'
- 'spec/models/scheduled_status_spec.rb'
- 'spec/models/status_stat_spec.rb'
- 'spec/models/status_trend_spec.rb'
- 'spec/models/system_key_spec.rb'
- 'spec/models/tag_follow_spec.rb'
- 'spec/models/unavailable_domain_spec.rb'
- 'spec/models/user_invite_request_spec.rb'
- 'spec/models/web/setting_spec.rb'
- 'spec/services/unmute_service_spec.rb'
# Configuration parameters: CountAsOne.
RSpec/ExampleLength:
Max: 22

@ -1,6 +0,0 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Admin::ActionLogsHelper do
end

@ -1,6 +0,0 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe AccountAlias do
end

@ -1,6 +0,0 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe AccountDeletionRequest do
end

@ -1,6 +0,0 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe AccountModerationNote do
end

@ -1,6 +0,0 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe AnnouncementMute do
end

@ -1,6 +0,0 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe AnnouncementReaction do
end

@ -1,6 +0,0 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Announcement do
end

@ -1,6 +0,0 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Backup do
end

@ -1,6 +0,0 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe ConversationMute do
end

@ -1,6 +0,0 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe CustomFilterKeyword do
end

@ -1,6 +0,0 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe CustomFilter do
end

@ -1,6 +0,0 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Device do
end

@ -1,6 +0,0 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe EncryptedMessage do
end

@ -1,6 +0,0 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe FeaturedTag do
end

@ -1,6 +0,0 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe FollowRecommendationSuppression do
end

@ -1,6 +0,0 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe ListAccount do
end

@ -1,6 +0,0 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe List do
end

@ -1,6 +0,0 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe LoginActivity do
end

@ -1,6 +0,0 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Mute do
end

@ -1,6 +0,0 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe PreviewCard do
end

@ -1,6 +0,0 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe PreviewCardTrend do
end

@ -1,6 +0,0 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Relay do
end

@ -1,6 +0,0 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe ScheduledStatus do
end

@ -1,6 +0,0 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe StatusStat do
end

@ -1,6 +0,0 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe StatusTrend do
end

@ -1,6 +0,0 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe SystemKey do
end

@ -1,6 +0,0 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe TagFollow do
end

@ -1,6 +0,0 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe UnavailableDomain do
end

@ -1,6 +0,0 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe UserInviteRequest do
end

@ -1,6 +0,0 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Web::Setting do
end

@ -1,7 +0,0 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe UnmuteService, type: :service do
subject { described_class.new }
end
Loading…
Cancel
Save