spec/ruco/application_spec.rb in ruco-0.0.55 vs spec/ruco/application_spec.rb in ruco-0.0.56
- old
+ new
@@ -163,9 +163,17 @@
app.key(:enter)
app.cursor.should == [1,0] # status bar + 1
end
end
+ describe 'insert hash rocket' do
+ it "inserts an amazing hash rocket" do
+ write("")
+ app.key(:"Ctrl+l")
+ editor_part(app.view).should == " => \n\n"
+ end
+ end
+
describe 'Find and replace' do
it "stops when nothing is found" do
write 'abc'
type :"Ctrl+r", 'x', :enter
app.view.should_not include("Replace with:")