Sha256: 929bfe1b2b7e9b0a226c890067571c61d7578be648345270f79b224f5c28659a

Contents?: true

Size: 421 Bytes

Versions: 3

Compression:

Stored size: 421 Bytes

Contents

require 'spec_helper'

describe BigbluebuttonUpdateRecordings do

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

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

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bigbluebutton_rails-2.2.0 spec/workers/bigbluebutton_update_recordings_spec.rb
bigbluebutton_rails-2.1.0 spec/workers/bigbluebutton_update_recordings_spec.rb
bigbluebutton_rails-2.0.0 spec/workers/bigbluebutton_update_recordings_spec.rb