Skip to content
Browse files

More conversion of current_beffer to buffer_current.

  • Loading branch information...
1 parent 11b871b commit e816544a3015bc09b105013eff07b4b3ecf4e36b Pistos committed
Showing with 2 additions and 2 deletions.
  1. +1 −1 extensions/dk-hello-world/hello-world.rb
  2. +1 −1 spec/searching.rb
View
2 extensions/dk-hello-world/hello-world.rb
@@ -2,7 +2,7 @@ module Diakonos
module Functions
def hello_world
- @current_buffer.paste "Hello, world!"
+ @buffer_current.paste "Hello, world!"
end
end
View
2 spec/searching.rb
@@ -15,7 +15,7 @@
it 'can grep the open buffers' do
dir = File.dirname( File.expand_path( __FILE__ ) )
- @d.actually_grep( 'inspect', @d.current_buffer )
+ @d.actually_grep( 'inspect', @d.buffer_current )
lines = File.readlines( @d.list_filename )
lines[ 0 ].should.match %r(^sample-file\.rb:13: def inspection {100,} \| #{dir}/test-files/sample-file\.rb:13\n$)
lines[ 1 ].should.match %r(^sample-file\.rb:14: x\.inspect {100,} \| #{dir}/test-files/sample-file\.rb:14\n$)

0 comments on commit e816544

Please sign in to comment.
Something went wrong with that request. Please try again.