Enable Style/FrozenStringLiteralComment for specs (#23790)

th-downstream
Nick Schonning 2 years ago committed by GitHub
parent 247bf6e812
commit dd46810e8a

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe Rack::Attack do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe AboutController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe AccountsController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe ActivityPub::FollowersSynchronizationsController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe ActivityPub::OutboxesController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Admin::AccountModerationNotesController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Admin::AccountsController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Admin::ChangeEmailsController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Admin::ConfirmationsController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe Admin::CustomEmojisController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Admin::Disputes::AppealsController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Admin::DomainAllowsController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Admin::DomainBlocksController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Admin::ExportDomainAllowsController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Admin::ExportDomainBlocksController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Admin::InstancesController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe Admin::ReportNotesController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe Admin::Reports::ActionsController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe Admin::ReportsController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe Admin::ResetsController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe Admin::RolesController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe Admin::StatusesController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe Admin::Users::RolesController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
require 'webauthn/fake_client'

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::OEmbedController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe Api::V1::Accounts::CredentialsController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe Api::V1::Accounts::FollowerAccountsController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe Api::V1::Accounts::FollowingAccountsController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe Api::V1::Accounts::ListsController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe Api::V1::Accounts::NotesController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe Api::V1::Accounts::RelationshipsController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V1::Accounts::SearchController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V1::AccountsController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V1::Admin::AccountActionsController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V1::Admin::AccountsController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V1::Admin::DomainAllowsController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V1::Admin::DomainBlocksController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V1::Admin::ReportsController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe Api::V1::Apps::CredentialsController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V1::AppsController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V1::BlocksController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V1::BookmarksController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V1::ConversationsController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V1::DomainBlocksController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V1::Emails::ConfirmationsController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V1::FavouritesController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V1::FiltersController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V1::FollowRequestsController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V1::FollowedTagsController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe Api::V1::Lists::AccountsController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V1::ListsController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V1::MarkersController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V1::MediaController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V1::MutesController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V1::NotificationsController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V1::Polls::VotesController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V1::PollsController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V1::Statuses::FavouritedByAccountsController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V1::Statuses::RebloggedByAccountsController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V1::StatusesController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V1::SuggestionsController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V1::TagsController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V2::Admin::AccountsController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V2::Filters::KeywordsController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V2::Filters::StatusesController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Api::V2::FiltersController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Auth::RegistrationsController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Disputes::AppealsController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Disputes::StrikesController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe EmojisController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe FollowerAccountsController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe FollowingAccountsController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe HomeController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe InstanceActorsController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe IntentsController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe InvitesController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe ManifestsController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe RelationshipsController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe Settings::ApplicationsController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe Settings::DeletesController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe Settings::Exports::BlockedAccountsController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe Settings::Exports::BookmarksController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe Settings::Exports::FollowingAccountsController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe Settings::Exports::MutedAccountsController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe Settings::FeaturedTagsController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Settings::ImportsController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe Settings::MigrationsController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe Settings::Preferences::NotificationsController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe Settings::Preferences::OtherController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Settings::ProfilesController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe Settings::SessionsController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe SharesController do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe StatusesCleanupController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe TagsController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe WellKnown::HostMetaController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe WellKnown::NodeInfoController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
require 'rails_helper'
describe WellKnown::WebfingerController, type: :controller do

@ -1,3 +1,5 @@
# frozen_string_literal: true
Fabricator :access_grant, from: 'Doorkeeper::AccessGrant' do
application
resource_owner_id { Fabricate(:user).id }

@ -1,2 +1,4 @@
# frozen_string_literal: true
Fabricator :access_token, from: 'Doorkeeper::AccessToken' do
end

@ -1,3 +1,5 @@
# frozen_string_literal: true
Fabricator :accessible_access_token, from: :access_token do
expires_in { nil }
revoked_at { nil }

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save