test/lib/vedeu/process/event_loop_test.rb in vedeu-0.0.10 vs test/lib/vedeu/process/event_loop_test.rb in vedeu-0.0.11
- old
+ new
@@ -5,12 +5,11 @@
let(:described_class) { EventLoop }
let(:defined) { mock }
let(:subject) { described_class.new }
before do
- Interfaces.stubs(:defined).returns(defined)
- defined.stubs(:input).returns("stop")
- defined.stubs(:output).returns(NilClass)
+ InterfaceRepository.stubs(:input).returns("stop")
+ InterfaceRepository.stubs(:output).returns(NilClass)
end
it { subject.must_be_instance_of(EventLoop) }
describe '.main_sequence' do