Sha256: 5aabc8c2164bc208bc458bd0b3368f7f43a3d0a7ae26f1393689a734640c831b

Contents?: true

Size: 428 Bytes

Versions: 2

Compression:

Stored size: 428 Bytes

Contents

require 'spec_helper'

describe "bigbluebutton_rails:meetings:finish" do
  include_context "rake"

  before do
    BigbluebuttonRails::BackgroundTasks.stub(:finish_meetings)
  end

  it "requires environment" do
    subject.prerequisites.should include("environment")
  end

  it "calls the method that does the work" do
    subject.invoke
    BigbluebuttonRails::BackgroundTasks.should have_received(:finish_meetings)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bigbluebutton_rails-3.0.0 spec/lib/tasks/meetings_rake_spec.rb
bigbluebutton_rails-2.3.0 spec/lib/tasks/meetings_rake_spec.rb