Sha256: 7656698972b0300f900455672a64d58456b58cba83445e74c0a79a9d9c01114f

Contents?: true

Size: 435 Bytes

Versions: 5

Compression:

Stored size: 435 Bytes

Contents

require 'spec_helper'

describe "bigbluebutton_rails:recordings:update" do
  include_context "rake"

  before do
    BigbluebuttonRails::BackgroundTasks.stub(:update_recordings)
  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(:update_recordings)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bigbluebutton_rails-3.0.0 spec/lib/tasks/recordings_rake_spec.rb
bigbluebutton_rails-2.3.0 spec/lib/tasks/recordings_rake_spec.rb
bigbluebutton_rails-2.2.0 spec/lib/tasks/recordings_rake_spec.rb
bigbluebutton_rails-2.1.0 spec/lib/tasks/recordings_rake_spec.rb
bigbluebutton_rails-2.0.0 spec/lib/tasks/recordings_rake_spec.rb