diff options
Diffstat (limited to 'spec/unit/cli')
| -rw-r--r-- | spec/unit/cli/build_spec.rb | 2 | ||||
| -rw-r--r-- | spec/unit/cli/pull_spec.rb | 2 | ||||
| -rw-r--r-- | spec/unit/cli/scan_spec.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/spec/unit/cli/build_spec.rb b/spec/unit/cli/build_spec.rb index f2c6a1f..f7433fa 100644 --- a/spec/unit/cli/build_spec.rb +++ b/spec/unit/cli/build_spec.rb @@ -21,7 +21,7 @@ RSpec.describe Spandx::Cli::Commands::Build do stub_request(:get, 'https://index.rubygems.org/versions') .to_return(status: 200, body: "created_at: 2020-12-01T00:00:35+00:00\n---\n") - subject.execute(output: output) + subject.execute(output:) expect(output.string).to eq("nuget\nmaven\npypi\nrubygems\nOK\n") end end diff --git a/spec/unit/cli/pull_spec.rb b/spec/unit/cli/pull_spec.rb index dbd284a..b648147 100644 --- a/spec/unit/cli/pull_spec.rb +++ b/spec/unit/cli/pull_spec.rb @@ -9,7 +9,7 @@ RSpec.describe Spandx::Cli::Commands::Pull do let(:output) { StringIO.new } it 'executes `spandx pull` command successfully' do - subject.execute(output: output) + subject.execute(output:) expect(output.string).to eq(fixture_file('pull.expected').read) end diff --git a/spec/unit/cli/scan_spec.rb b/spec/unit/cli/scan_spec.rb index a11842d..a82e296 100644 --- a/spec/unit/cli/scan_spec.rb +++ b/spec/unit/cli/scan_spec.rb @@ -13,7 +13,7 @@ RSpec.describe Spandx::Cli::Commands::Scan do stub_request(:get, Spandx::Spdx::Gateway::URL) .to_return(status: 200, body: fixture_file('spdx/json/licenses.json').read) VCR.use_cassette(lockfile.basename) do - subject.execute(output: output) + subject.execute(output:) end end |
