diff options
author | Gabriel Mazetto <brodock@gmail.com> | 2019-01-31 21:31:25 +0100 |
---|---|---|
committer | Gabriel Mazetto <brodock@gmail.com> | 2019-01-31 21:31:25 +0100 |
commit | 83adf64831d0e4cee0f8af1c4a4efa5d2a7ec1f5 (patch) | |
tree | 8f12d95a8bdcf9d3990e8dfa67e24a90e482e18f | |
parent | f38f646c85fb5d8c4bc982e1ac080f274fdb56d8 (diff) | |
download | gitlab-ce-83adf64831d0e4cee0f8af1c4a4efa5d2a7ec1f5.tar.gz |
Fix rubocop violations
-rw-r--r-- | spec/features/markdown/math_spec.rb | 2 | ||||
-rw-r--r-- | spec/lib/safe_zip/extract_spec.rb | 2 | ||||
-rw-r--r-- | spec/services/members/destroy_service_spec.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/markdown/math_spec.rb b/spec/features/markdown/math_spec.rb index 53abb5e3722..16ad0d456be 100644 --- a/spec/features/markdown/math_spec.rb +++ b/spec/features/markdown/math_spec.rb @@ -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 diff --git a/spec/lib/safe_zip/extract_spec.rb b/spec/lib/safe_zip/extract_spec.rb index dc7e25c0cf6..b75a8fede00 100644 --- a/spec/lib/safe_zip/extract_spec.rb +++ b/spec/lib/safe_zip/extract_spec.rb @@ -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 } diff --git a/spec/services/members/destroy_service_spec.rb b/spec/services/members/destroy_service_spec.rb index e872a537761..d37ca13ebd2 100644 --- a/spec/services/members/destroy_service_spec.rb +++ b/spec/services/members/destroy_service_spec.rb @@ -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 |