summaryrefslogtreecommitdiff
path: root/spec/ruby/library/readline/basic_word_break_characters_spec.rb
blob: daa0e1cb76053d6f246e8e89aac71b1e52335384 (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.basic_word_break_characters" do
    it "returns not nil" do
      Readline.basic_word_break_characters.should_not be_nil
    end
  end

  describe "Readline.basic_word_break_characters=" do
    it "returns the passed string" do
      Readline.basic_word_break_characters = "test"
      Readline.basic_word_break_characters.should == "test"
    end
  end
end