Sha256: ca583b893e0e2e5e693a5e4b76d8f3c177454f30316231c08f17f97841f856bb

Contents?: true

Size: 429 Bytes

Versions: 3

Compression:

Stored size: 429 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

3 entries across 3 versions & 1 rubygems

Version Path
bigbluebutton_rails-2.2.0 spec/lib/tasks/meetings_rake_spec.rb
bigbluebutton_rails-2.1.0 spec/lib/tasks/meetings_rake_spec.rb
bigbluebutton_rails-2.0.0 spec/lib/tasks/meetings_rake_spec.rb