Sha256: afd37b6f36f08800cfdbea4c76969a4971e375a63674dbdbf73540e47535b9a9

Contents?: true

Size: 504 Bytes

Versions: 3

Compression:

Stored size: 504 Bytes

Contents

process_is_foreground do
  with_feature :readline do
    require 'readline'

    describe "Readline.completion_append_character" do
      it "returns not nil" do
        Readline.completion_append_character.should_not be_nil
      end
    end

    describe "Readline.completion_append_character=" do
      it "returns the first character of the passed string" do
        Readline.completion_append_character = "test"
        Readline.completion_append_character.should == "t"
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rubysl-readline-1.0.1 spec/completion_append_character_spec.rb
rubysl-readline-2.0.2 spec/completion_append_character_spec.rb
rubysl-readline-1.0.0 spec/completion_append_character_spec.rb