diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-11-02 22:15:20 +0000 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-11-02 22:15:20 +0000 |
commit | 895673733a5712ee4b69c84195a1d717a72fc032 (patch) | |
tree | e8cdf2b42901430a88b1ad77525c77caa36513b8 /spec | |
parent | 99a12e120953c7b11d35a65e002a7906f30a99cb (diff) | |
download | gitlab-ce-895673733a5712ee4b69c84195a1d717a72fc032.tar.gz |
Add a `--force` option to bin/changelogrs-changelog-force
Diffstat (limited to 'spec')
-rw-r--r-- | spec/bin/changelog_spec.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/bin/changelog_spec.rb b/spec/bin/changelog_spec.rb index da167dc570f..8c8bc1b0f1c 100644 --- a/spec/bin/changelog_spec.rb +++ b/spec/bin/changelog_spec.rb @@ -10,6 +10,18 @@ describe 'bin/changelog' do expect(options.amend).to eq true end + it 'parses --force' do + options = described_class.parse(%w[foo --force bar]) + + expect(options.force).to eq true + end + + it 'parses -f' do + options = described_class.parse(%w[foo -f bar]) + + expect(options.force).to eq true + end + it 'parses --merge-request' do options = described_class.parse(%w[foo --merge-request 1234 bar]) |