diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-18 09:45:46 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-18 09:45:46 +0000 |
commit | a7b3560714b4d9cc4ab32dffcd1f74a284b93580 (patch) | |
tree | 7452bd5c3545c2fa67a28aa013835fb4fa071baf /spec/lib/gitlab/import_export/snippets_repo_saver_spec.rb | |
parent | ee9173579ae56a3dbfe5afe9f9410c65bb327ca7 (diff) | |
download | gitlab-ce-a7b3560714b4d9cc4ab32dffcd1f74a284b93580.tar.gz |
Add latest changes from gitlab-org/gitlab@14-8-stable-eev14.8.0-rc42
Diffstat (limited to 'spec/lib/gitlab/import_export/snippets_repo_saver_spec.rb')
-rw-r--r-- | spec/lib/gitlab/import_export/snippets_repo_saver_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/lib/gitlab/import_export/snippets_repo_saver_spec.rb b/spec/lib/gitlab/import_export/snippets_repo_saver_spec.rb index aa284c60e73..eaa58c77aff 100644 --- a/spec/lib/gitlab/import_export/snippets_repo_saver_spec.rb +++ b/spec/lib/gitlab/import_export/snippets_repo_saver_spec.rb @@ -18,7 +18,7 @@ RSpec.describe Gitlab::ImportExport::SnippetsRepoSaver do snippets_dir = ::Gitlab::ImportExport.snippets_repo_bundle_path(shared.export_path) expect(Dir.exist?(snippets_dir)).to be_falsey - bundler.save + bundler.save # rubocop:disable Rails/SaveBang expect(Dir.exist?(snippets_dir)).to be_truthy end @@ -27,7 +27,7 @@ RSpec.describe Gitlab::ImportExport::SnippetsRepoSaver do it 'does not perform any action' do expect(Gitlab::ImportExport::SnippetRepoSaver).not_to receive(:new) - bundler.save + bundler.save # rubocop:disable Rails/SaveBang end end @@ -40,7 +40,7 @@ RSpec.describe Gitlab::ImportExport::SnippetsRepoSaver do allow(Gitlab::ImportExport::SnippetRepoSaver).to receive(:new).and_return(service) expect(service).to receive(:save).and_return(true).twice - bundler.save + bundler.save # rubocop:disable Rails/SaveBang end context 'when one snippet cannot be saved' do |