gearheads
/
mastodon
Archived
2
0
Fork 0

Fix `RSpec/EmptyExampleGroup` cop (#24735)

gh/dev
Matt Jankowski 2023-07-28 17:15:33 -04:00 committed by GitHub
parent 660993b415
commit 6f1fa1364f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
32 changed files with 0 additions and 222 deletions

View File

@ -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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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