blob: b648147bc117cba999785b51e063944c9b94240a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# frozen_string_literal: true
RSpec.describe Spandx::Cli::Commands::Pull do
subject { described_class.new(options) }
let(:options) { {} }
describe '#execute' do
let(:output) { StringIO.new }
it 'executes `spandx pull` command successfully' do
subject.execute(output:)
expect(output.string).to eq(fixture_file('pull.expected').read)
end
end
end
|