diff options
| author | mo khan <mo.khan@gmail.com> | 2020-02-01 17:20:22 -0700 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-02-01 17:20:22 -0700 |
| commit | c8fd92b56b07090901d1c74862c19cfc1d2df166 (patch) | |
| tree | 9c2f3e9a4fc7d240511b57f7a039144eee4425a5 /spec/integration | |
| parent | c7ded689224487abdffd15b46de063f9d03d68a1 (diff) | |
Add command to build index
Diffstat (limited to 'spec/integration')
| -rw-r--r-- | spec/integration/build_spec.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/spec/integration/build_spec.rb b/spec/integration/build_spec.rb new file mode 100644 index 0000000..691a0a4 --- /dev/null +++ b/spec/integration/build_spec.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +RSpec.describe '`spandx build` command', type: :cli do + it 'executes `spandx help build` command successfully' do + output = `spandx help build` + expected_output = <<~OUT + Usage: + spandx build + + Options: + -h, [--help], [--no-help] # Display usage information + + Command description... + OUT + + expect(output).to eq(expected_output) + end +end |
