Sha256: 15c78bcfa1086ca26a9397c794133931a23fe778b1e20af17bd5300778284740
Contents?: true
Size: 472 Bytes
Versions: 12
Compression:
Stored size: 472 Bytes
Contents
describe 'The main window' do it 'launches with a welcome message' do note = Note.new note.text.should include('Welcome' ) note.exit! end it 'exits without a prompt if nothing has changed' do note = Note.new note.exit! note.should_not have_prompted end it 'prompts before exiting if the document has changed' do note = Note.new note.type_in "changed" note.exit! note.should have_prompted end end
Version data entries
12 entries across 6 versions & 1 rubygems