diff options
Diffstat (limited to 'spec/helpers/git_helper_spec.rb')
-rw-r--r-- | spec/helpers/git_helper_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/helpers/git_helper_spec.rb b/spec/helpers/git_helper_spec.rb index 0dd9eecb7f0..543b9ce7a82 100644 --- a/spec/helpers/git_helper_spec.rb +++ b/spec/helpers/git_helper_spec.rb @@ -15,11 +15,13 @@ RSpec.describe GitHelper do it { expect(strip_signature).to eq("Version 1.69.0\n\n") } end + context 'strips PGP MESSAGE' do let(:strip_signature) { helper.strip_signature( pgp_message_tag ) } it { expect(strip_signature).to eq("Version 1.69.0\n\n") } end + context 'strips SIGNED MESSAGE' do let(:strip_signature) { helper.strip_signature( x509_message_tag ) } |