Skip to content

Commit

Permalink
Remove outer describe, update spec description.
Browse files Browse the repository at this point in the history
  • Loading branch information
djberg96 committed Oct 28, 2019
1 parent 8a10463 commit 9b95cba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/models/miq_queue_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
RSpec.describe MiqQueue do
describe MiqQueue do
specify { expect(FactoryBot.build(:miq_queue)).to be_valid }

context "#deliver" do
Expand Down Expand Up @@ -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])

Expand Down

0 comments on commit 9b95cba

Please sign in to comment.