Sha256: 9d571ea00fb8481f3113c02f9359f910a6be79e429cb72f4be3f12080a640592

Contents?: true

Size: 389 Bytes

Versions: 5

Compression:

Stored size: 389 Bytes

Contents

require 'minitest_helper'

describe Ruby do
  
  it 'Engine' do
    Ruby.engine.must_equal RUBY_ENGINE
  end

  it 'Platform' do
    Ruby.platform.must_equal RUBY_PLATFORM
  end

  it 'Version' do
    Ruby.version.must_equal RUBY_VERSION
  end

  it 'MRI' do
    Ruby.mri?.must_equal RUBY_ENGINE == 'ruby'
  end

  it 'JRuby' do
    Ruby.jruby?.must_equal RUBY_ENGINE == 'jruby'
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
core_extended-0.0.10 spec/ruby_spec.rb
core_extended-0.0.9 spec/ruby_spec.rb
core_extended-0.0.8 spec/ruby_spec.rb
core_extended-0.0.7 spec/ruby_spec.rb
core_extended-0.0.6 spec/ruby_spec.rb