test/lib/vedeu/repository/interface_test.rb in vedeu-0.0.11 vs test/lib/vedeu/repository/interface_test.rb in vedeu-0.0.12

- old
+ new

@@ -22,44 +22,9 @@ end describe '#initial_state' do let(:subject) { described_instance.initial_state } - # it { proc { subject }.must_raise(NotImplementedError) } - it { subject.must_be_instance_of(NilClass) } - end - - describe '#origin' do - it { skip } - end - - describe '#initial_state' do - it { skip } - end - - describe '#input' do - let(:subject) { described_instance.input } - - context 'when the command evaluates to :stop' do - let(:result) { :stop } - - it { proc { subject }.must_raise(Collapse) } - end - - context 'when the command evaluates to anything else' do - let(:result) { :something_else } - - it { subject.must_be_instance_of(NilClass) } - end - end - - describe '#output' do - let(:subject) { described_instance.output } - let(:command) { mock } - - it 'sends the output of the command to the compositor' do - subject.must_be_instance_of(NilClass) - end end end end