Sha256: d14c375df3f3b4efb26533179eedbe63a31136ab87b3ad6582aabffd938b1f1c
Contents?: true
Size: 597 Bytes
Versions: 13
Compression:
Stored size: 597 Bytes
Contents
require 'spec_helper' describe Rivendell::Import::Worker do let(:import) { Rivendell::Import::Base.new } subject { Rivendell::Import::Worker.new import } let(:file) { Rivendell::Import::File.new "dummy.wav" } describe "initialization" do it "should use the given Import" do Rivendell::Import::Worker.new(import).import.should == import end end it "should run Import tasks in a separated Thread" do pending "Transaction masks changes for Worker" import.tasks.create file subject.start sleep 0.5 import.tasks.should_not be_pending end end
Version data entries
13 entries across 13 versions & 1 rubygems