spec/ruco/application_spec.rb in ruco-0.0.40 vs spec/ruco/application_spec.rb in ruco-0.0.41

- old
+ new

@@ -37,11 +37,11 @@ app.key('2') app.key('2') app.key(:enter) app.key('2') app.key(:enter) - app.view.should == "#{status.sub('.txt ','.txt*')}22\n2\n\n#{command}" + app.view.should == "#{status.sub('.txt ','.txt*')}2\n\n\n#{command}" end it "does not enter key-codes" do app.key(888) app.view.should == "#{status}\n\n\n#{command}" @@ -202,10 +202,10 @@ it "does not extra-indent when pasting" do Ruco.class_eval "Clipboard.copy('ab\n cd\n ef')" app.key(:tab) app.key(:tab) app.key(:'Ctrl+v') # paste - editor_part(app.view).should == " ab\n cd\n ef" + editor_part(app.view).should == " cd\n ef\n" end it "indents when typing" do app.key(:tab) app.key(:tab) \ No newline at end of file