From a9c85c0a1f550a3f75cecebfe951254f8166529a Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Thu, 6 Oct 2022 00:45:06 +0200 Subject: [PATCH] Fix Rubocop offenses --- spec/features/authentication_spec.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spec/features/authentication_spec.rb b/spec/features/authentication_spec.rb index b98b77a4..cd7b09bb 100644 --- a/spec/features/authentication_spec.rb +++ b/spec/features/authentication_spec.rb @@ -107,7 +107,7 @@ describe 'Authentication' do visit(root_path) end - context "with an authentication token" do + context 'with an authentication token' do let(:request_for_comment) { create(:rfc_with_comment, user: user) } let(:study_group) { request_for_comment.submission.study_group } let(:commenting_user) { InternalUser.create(attributes_for(:teacher)) } @@ -121,7 +121,6 @@ describe 'Authentication' do visit(request_for_comment_url(request_for_comment, token: token.shared_secret)) expect(token.reload.expire_at).to be_within(10.seconds).of(Time.zone.now) end - end it "displays the user's displayname" do