From 9b95cbafa8c0c6c6624ee861374a1ca3f3df899e Mon Sep 17 00:00:00 2001 From: Daniel Berger Date: Mon, 28 Oct 2019 10:46:45 -0400 Subject: [PATCH] Remove outer describe, update spec description. --- spec/models/miq_queue_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/models/miq_queue_spec.rb b/spec/models/miq_queue_spec.rb index 337035b6fed..3fa8005952a 100644 --- a/spec/models/miq_queue_spec.rb +++ b/spec/models/miq_queue_spec.rb @@ -1,4 +1,4 @@ -RSpec.describe MiqQueue do +describe MiqQueue do specify { expect(FactoryBot.build(:miq_queue)).to be_valid } context "#deliver" do @@ -53,7 +53,7 @@ expect(result).to be_nil end - it "passes args" do + it "passes multiple args" do expect(Storage).to receive(:scan_queue).with("1", "2").and_return("WHATEVER") msg = MiqQueue.new(:class_name => "Storage", :method_name => "scan_queue", :args => %w[1 2])