test/lib/vedeu/terminal_test.rb in vedeu-0.5.4 vs test/lib/vedeu/terminal_test.rb in vedeu-0.5.5
- old
+ new
@@ -12,10 +12,10 @@
console.stubs(:print)
}
describe '.open' do
context 'when a block was not given' do
- it { proc { Terminal.open }.must_raise(InvalidSyntax) }
+ it { proc { Terminal.open }.must_raise(Vedeu::InvalidSyntax) }
end
it 'opens a new terminal console in raw mode' do
Configuration.stub(:terminal_mode, :raw) do
capture_io do