blob: de3426fc480c72a977b84d4a07c06555d635cc1e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# frozen_string_literal: true
RSpec.describe '`spandx pull` command', type: :cli do
it 'executes `spandx help pull` command successfully' do
output = `spandx help pull`
expected_output = <<~OUT
Usage:
spandx pull
Options:
-h, [--help], [--no-help] # Display usage information
Pull the latest offline cache
OUT
expect(output).to eq(expected_output)
end
end
|