1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
require File.expand_path('../../../spec_helper', __FILE__)
process_is_foreground do
with_feature :readline do
require 'readline'
describe "Readline.completer_word_break_characters" do
it "returns nil" do
Readline.completer_word_break_characters.should be_nil
end
end
describe "Readline.completer_word_break_characters=" do
it "returns the passed string" do
Readline.completer_word_break_characters = "test"
Readline.completer_word_break_characters.should == "test"
end
end
end
end
|