summaryrefslogtreecommitdiff
path: root/spec/unit/cli
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-03-03 10:58:47 -0700
committermo khan <mo.khan@gmail.com>2020-03-03 10:58:47 -0700
commit28881febd40ecb5c0b771c307b9624689c4e0973 (patch)
tree236e94055ae78f3d53c4052c8cbe4c96c4629aa7 /spec/unit/cli
parentb10053c7c14c3312f79a6d476b676d0d647d66cb (diff)
Extract core namespace
Diffstat (limited to 'spec/unit/cli')
-rw-r--r--spec/unit/cli/index/build_spec.rb1
-rw-r--r--spec/unit/cli/index/update_spec.rb3
2 files changed, 3 insertions, 1 deletions
diff --git a/spec/unit/cli/index/build_spec.rb b/spec/unit/cli/index/build_spec.rb
index e1c282f..c3fd8fe 100644
--- a/spec/unit/cli/index/build_spec.rb
+++ b/spec/unit/cli/index/build_spec.rb
@@ -2,6 +2,7 @@
RSpec.describe Spandx::Cli::Commands::Index::Build do
subject { described_class.new(options) }
+
let(:options) { {} }
describe '#execute' do
diff --git a/spec/unit/cli/index/update_spec.rb b/spec/unit/cli/index/update_spec.rb
index 6c174d6..2df80ad 100644
--- a/spec/unit/cli/index/update_spec.rb
+++ b/spec/unit/cli/index/update_spec.rb
@@ -2,9 +2,10 @@
RSpec.describe Spandx::Cli::Commands::Index::Update do
subject { described_class.new(options) }
+
let(:options) { {} }
- describe "#execute" do
+ describe '#execute' do
let(:output) { StringIO.new }
it 'executes `index update` command successfully' do