diff options
author | Stan Hu <stanhu@gmail.com> | 2019-01-31 22:05:21 +0000 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-01-31 22:05:21 +0000 |
commit | 86b15b07fe7b6a77c53efb8ba3046237f2573733 (patch) | |
tree | f68ca151ecd8d99ee9cb2acee9eca8f2b01ff02c | |
parent | 4b0bcdc0c132fa40556bcc44a3cf8bd8e8f1d2bd (diff) | |
parent | 83adf64831d0e4cee0f8af1c4a4efa5d2a7ec1f5 (diff) | |
download | gitlab-ce-86b15b07fe7b6a77c53efb8ba3046237f2573733.tar.gz |
Merge branch 'fix-rubocop-violations' into 'master'
Fix rubocop violations
See merge request gitlab-org/gitlab-ce!24837
-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 |