diff options
Diffstat (limited to 'spec/unit/cli/pull_spec.rb')
| -rw-r--r-- | spec/unit/cli/pull_spec.rb | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/spec/unit/cli/pull_spec.rb b/spec/unit/cli/pull_spec.rb index 9a3d8e8..dbd284a 100644 --- a/spec/unit/cli/pull_spec.rb +++ b/spec/unit/cli/pull_spec.rb @@ -11,14 +11,7 @@ RSpec.describe Spandx::Cli::Commands::Pull do it 'executes `spandx pull` command successfully' do subject.execute(output: output) - expected = <<~OUTPUT - Updating https://github.com/spandx/cache.git... - Updating https://github.com/spandx/rubygems-cache.git... - Updating https://github.com/spdx/license-list-data.git... - OK - OUTPUT - - expect(output.string).to eq(expected) + expect(output.string).to eq(fixture_file('pull.expected').read) end end end |
