Commit 86b15b07 authored by Stan Hu's avatar Stan Hu

Merge branch 'fix-rubocop-violations' into 'master'

Fix rubocop violations

See merge request gitlab-org/gitlab-ce!24837
parents 4b0bcdc0 83adf648
require 'spec_helper' require 'spec_helper'
describe 'Math rendering', :js do describe 'Math rendering', :js do
let!(:project) { create(:project, :public) } let!(:project) { create(:project, :public) }
it 'renders inline and display math correctly' do it 'renders inline and display math correctly' do
description = <<~MATH description = <<~MATH
......
...@@ -36,7 +36,7 @@ describe SafeZip::Extract do ...@@ -36,7 +36,7 @@ describe SafeZip::Extract do
end end
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 context "when using #{name} archive" do
let(:archive_name) { name } let(:archive_name) { name }
......
...@@ -168,7 +168,7 @@ describe Members::DestroyService do ...@@ -168,7 +168,7 @@ describe Members::DestroyService do
end end
it_behaves_like 'a service destroying a member' do 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) } let(:member) { group.requesters.find_by(user_id: member_user.id) }
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment