Sha256: 3ae84356219707cf3aabf8f44765b1b96215b80e2482532edb4c2a355d05aea6

Contents?: true

Size: 308 Bytes

Versions: 4

Compression:

Stored size: 308 Bytes

Contents

require 'spec_helper'

describe Rivendell::Import::Tasks do

  let(:file) { Rivendell::Import::File.new "dummy.wav" }

  describe "#run" do
    
    it "should run each task" do
      task = subject.create(file)
      subject.run rescue nil
      task.reload.status.should_not be_pending
    end

  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rivendell-import-0.0.5 spec/rivendell/import/tasks_spec.rb
rivendell-import-0.0.4 spec/rivendell/import/tasks_spec.rb
rivendell-import-0.0.3 spec/rivendell/import/tasks_spec.rb
rivendell-import-0.0.2 spec/rivendell/import/tasks_spec.rb