Sha256: a5187abd358a8b79732900d62b25b47c506f139429586304469cee26483b6935
Contents?: true
Size: 485 Bytes
Versions: 3
Compression:
Stored size: 485 Bytes
Contents
shared_examples_for 'Raktr::Tasks::Base' do let(:list) { Raktr::Tasks.new } it { should respond_to :owner } it { should respond_to :owner= } describe '#done' do it 'removes self from the #owner' do list << subject subject.done list.should_not include subject end end describe '#to_proc' do it 'returns the given Block' do subject.to_proc.should be_kind_of Proc end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
raktr-0.0.3 | spec/support/shared/task.rb |
raktr-0.0.2 | spec/support/shared/task.rb |
raktr-0.0.1 | spec/support/shared/task.rb |