Autofix Rubocop Style/StringLiterals (#23695)
This commit is contained in:
		@@ -7,8 +7,8 @@ RSpec.describe Settings::ImportsController, type: :controller do
 | 
			
		||||
    sign_in Fabricate(:user), scope: :user
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  describe "GET #show" do
 | 
			
		||||
    it "returns http success" do
 | 
			
		||||
  describe 'GET #show' do
 | 
			
		||||
    it 'returns http success' do
 | 
			
		||||
      get :show
 | 
			
		||||
      expect(response).to have_http_status(200)
 | 
			
		||||
    end
 | 
			
		||||
 
 | 
			
		||||
@@ -10,8 +10,8 @@ RSpec.describe Settings::ProfilesController, type: :controller do
 | 
			
		||||
    sign_in user, scope: :user
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  describe "GET #show" do
 | 
			
		||||
    it "returns http success" do
 | 
			
		||||
  describe 'GET #show' do
 | 
			
		||||
    it 'returns http success' do
 | 
			
		||||
      get :show
 | 
			
		||||
      expect(response).to have_http_status(200)
 | 
			
		||||
    end
 | 
			
		||||
 
 | 
			
		||||
@@ -137,7 +137,7 @@ describe Settings::TwoFactorAuthentication::WebauthnCredentialsController do
 | 
			
		||||
            expect { get :options }.to_not change { user.webauthn_id }
 | 
			
		||||
          end
 | 
			
		||||
 | 
			
		||||
          it "includes existing credentials in list of excluded credentials" do
 | 
			
		||||
          it 'includes existing credentials in list of excluded credentials' do
 | 
			
		||||
            get :options
 | 
			
		||||
 | 
			
		||||
            excluded_credentials_ids = JSON.parse(response.body)['excludeCredentials'].map { |credential| credential['id'] }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user