Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec/bin
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-09-17 17:16:34 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-09-17 17:16:34 +0300
commit4ab54c2233e91f60a80e5b6fa2181e6899fdcc3e (patch)
tree2b256ff8dfe63dafe7f42b0d995f9e74fd1dc48b /spec/bin
parentbd860c22f6a4b9473cbddd34a53eead8235a7ea1 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/bin')
-rw-r--r--spec/bin/changelog_spec.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/bin/changelog_spec.rb b/spec/bin/changelog_spec.rb
index c3a5abf2b7a..ce7f7648c0c 100644
--- a/spec/bin/changelog_spec.rb
+++ b/spec/bin/changelog_spec.rb
@@ -69,6 +69,14 @@ describe 'bin/changelog' do
end
end
+ it 'parses --ee and -e' do
+ %w[--ee -e].each do |flag|
+ options = described_class.parse(%W[foo #{flag} security])
+
+ expect(options.ee).to eq true
+ end
+ end
+
it 'parses -h' do
expect do
expect { described_class.parse(%w[foo -h bar]) }.to output.to_stdout