Sha256: cb38e545a4c1727f448723c025eb0490e6f9cd3d06e364e5152e1c95b37be08f

Contents?: true

Size: 597 Bytes

Versions: 1

Compression:

Stored size: 597 Bytes

Contents

require File.dirname(__FILE__) + '/../../spec_helper'

process_is_foreground do

  not_supported_on :ironruby 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

1 entries across 1 versions & 1 rubygems

Version Path
readline-ffi-0.0.2 spec/library/readline/completion_case_fold_spec.rb