Sha256: 0e247ba8bdfa0fcaabe1d72c0fd9c054e42af55e699fb383508c3af674656b54

Contents?: true

Size: 538 Bytes

Versions: 3

Compression:

Stored size: 538 Bytes

Contents

process_is_foreground do
  with_feature :readline do
    require 'readline'

    describe "Readline.completion_case_fold" do
      it "returns nil" do
        Readline.completion_case_fold.should be_nil
      end
    end

    describe "Readline.completion_case_fold=" do
      it "returns the passed boolean" do
        Readline.completion_case_fold = true
        Readline.completion_case_fold.should == true
        Readline.completion_case_fold = false
        Readline.completion_case_fold.should == false
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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