Sha256: 1a2bacc91463ca4c2d6cab922cde9e694ab23d2375be82c0c19421618945dee1

Contents?: true

Size: 439 Bytes

Versions: 2

Compression:

Stored size: 439 Bytes

Contents

require 'spec_helper'

describe BigbluebuttonUpdateRecordingsWorker do

  it "runs BigbluebuttonRails::BackgroundTasks.finish_meetings" do
    expect(BigbluebuttonRails::BackgroundTasks).to receive(:update_recordings).once
    BigbluebuttonUpdateRecordingsWorker.perform
  end

  it "uses the queue :bigbluebutton_rails" do
    BigbluebuttonUpdateRecordingsWorker.instance_variable_get(:@queue).should eql(:bigbluebutton_rails)
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bigbluebutton_rails-3.0.0 spec/workers/bigbluebutton_update_recordings_worker_spec.rb
bigbluebutton_rails-2.3.0 spec/workers/bigbluebutton_update_recordings_worker_spec.rb