test/lib/vedeu/process/exit_test.rb in vedeu-0.0.14 vs test/lib/vedeu/process/exit_test.rb in vedeu-0.0.15
- old
+ new
@@ -5,11 +5,15 @@
let(:described_class) { Exit }
describe '.dispatch' do
let(:subject) { described_class.dispatch }
- it { subject.must_be_instance_of(Symbol) }
+ it 'returns a Symbol' do
+ subject.must_be_instance_of(Symbol)
+ end
- it { subject.must_equal(:stop) }
+ it 'returns the symbol :stop' do
+ subject.must_equal(:stop)
+ end
end
end
end