Sha256: f95815fa3441df0d0f969e6d22a91172126f5b9067d81284edbddeb53090de01

Contents?: true

Size: 609 Bytes

Versions: 1

Compression:

Stored size: 609 Bytes

Contents

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

process_is_foreground do

  not_supported_on :ironruby do
    require 'readline'
    # Note: additional specs for HISTORY are in 'history' subdir.
    describe "Readline::HISTORY" do
      it "is defined" do
        Readline.const_defined?(:HISTORY).should == true
      end
    end

    describe "Readline::VERSION" do
      it "is defined and is a non-empty String" do
        Readline.const_defined?(:VERSION).should == true
        Readline::VERSION.should be_kind_of(String)
        Readline::VERSION.should_not be_empty
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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