diff options
Diffstat (limited to 'spec/integration/cli/build_spec.rb')
| -rw-r--r-- | spec/integration/cli/build_spec.rb | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/spec/integration/cli/build_spec.rb b/spec/integration/cli/build_spec.rb index 0e51301..47f63a7 100644 --- a/spec/integration/cli/build_spec.rb +++ b/spec/integration/cli/build_spec.rb @@ -3,21 +3,6 @@ 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 - -d, [--directory=DIRECTORY] # Directory to build index in - # Default: .index - -l, [--logfile=LOGFILE] # Path to a logfile - # Default: /dev/null - -i, [--index=INDEX] # The specific index to build - # Default: all - - Build a package index - OUT - expect(output).to eq(expected_output) + expect(output).to eq(fixture_file_content('help-build.expected')) end end |
