Fix rubocop violations
This commit is contained in:
parent
f38f646c85
commit
83adf64831
3 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe 'Math rendering', :js do
|
||||
let!(:project) { create(:project, :public) }
|
||||
let!(:project) { create(:project, :public) }
|
||||
|
||||
it 'renders inline and display math correctly' do
|
||||
description = <<~MATH
|
||||
|
|
|
@ -36,7 +36,7 @@ describe SafeZip::Extract do
|
|||
end
|
||||
end
|
||||
|
||||
%w(valid-simple.zip valid-symlinks-first.zip valid-non-writeable.zip).each do |name|
|
||||
%w(valid-simple.zip valid-symlinks-first.zip valid-non-writeable.zip).each do |name|
|
||||
context "when using #{name} archive" do
|
||||
let(:archive_name) { name }
|
||||
|
||||
|
|
|
@ -168,7 +168,7 @@ describe Members::DestroyService do
|
|||
end
|
||||
|
||||
it_behaves_like 'a service destroying a member' do
|
||||
let(:opts) { { skip_authorization: true, skip_subresources: true } }
|
||||
let(:opts) { { skip_authorization: true, skip_subresources: true } }
|
||||
let(:member) { group.requesters.find_by(user_id: member_user.id) }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue