Sha256: d2062eb5035d12d8c5e3bab7d790f78511d720d652e468d7ed66d665d2ccd707
Contents?: true
Size: 352 Bytes
Versions: 9
Compression:
Stored size: 352 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 ready task" do task = subject.create(file) subject.stub :ready_tasks => [task] subject.run rescue nil task.reload.status.should_not be_pending end end end
Version data entries
9 entries across 9 versions & 1 rubygems