Sha256: cec7c4c5cf4807aefc7e458e6549847fde59221dc4057860ff448f9b137b110d
Contents?: true
Size: 460 Bytes
Versions: 9
Compression:
Stored size: 460 Bytes
Contents
require 'spec_helper' describe Rivendell::Import::Context do let(:file) { Rivendell::Import::File.new "dummy.wav" } let(:task) { Rivendell::Import::Task.new :file => file } subject { Rivendell::Import::Context.new task } describe "#notify" do it "should add the specified notifier to the task" do subject.notify 'recipient@domain', :by => :email subject.task.notifiers.first.to.should == 'recipient@domain' end end end
Version data entries
9 entries across 9 versions & 1 rubygems