Commit 83adf648 authored by Gabriel Mazetto's avatar Gabriel Mazetto

Fix rubocop violations

parent f38f646c
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 @@
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 @@
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
......
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