diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-07 00:08:48 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-07 00:08:48 +0300 |
commit | a89cb5cbdd832d4d9e80517973aceda6bc0a3856 (patch) | |
tree | 574475bd0901a2f8906d36a4728b8bbb95b41e1c /spec/lib/safe_zip | |
parent | 0d6fa033121a9bef708b8f2de186c4034c61d4a3 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/safe_zip')
-rw-r--r-- | spec/lib/safe_zip/entry_spec.rb | 4 | ||||
-rw-r--r-- | spec/lib/safe_zip/extract_spec.rb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/lib/safe_zip/entry_spec.rb b/spec/lib/safe_zip/entry_spec.rb index 0974f732188..be3d46917ee 100644 --- a/spec/lib/safe_zip/entry_spec.rb +++ b/spec/lib/safe_zip/entry_spec.rb @@ -25,13 +25,13 @@ describe SafeZip::Entry do FileUtils.remove_entry_secure(target_path) end - context '#path_dir' do + describe '#path_dir' do subject { entry.path_dir } it { is_expected.to eq(target_path + '/public/folder') } end - context '#exist?' do + describe '#exist?' do subject { entry.exist? } context 'when entry does not exist' do diff --git a/spec/lib/safe_zip/extract_spec.rb b/spec/lib/safe_zip/extract_spec.rb index 3b8c64c1c9f..d388135c3fb 100644 --- a/spec/lib/safe_zip/extract_spec.rb +++ b/spec/lib/safe_zip/extract_spec.rb @@ -12,7 +12,7 @@ describe SafeZip::Extract do FileUtils.remove_entry_secure(target_path) end - context '#extract' do + describe '#extract' do subject { object.extract(directories: directories, to: target_path) } shared_examples 'extracts archive' do |param| |