summaryrefslogtreecommitdiff
path: root/spec/ruby/library/readline/completer_word_break_characters_spec.rb
blob: c72f1135c4a478c03892601a215a3b598df2edad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require_relative 'spec_helper'

with_feature :readline do
  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