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 == 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
