Sha256: 52b52ce1f4c5ae6c4a5151233cdd4abde7df6206f0200292fef96c18fb4c1e41

Contents?: true

Size: 838 Bytes

Versions: 11

Compression:

Stored size: 838 Bytes

Contents

require 'spec_helper'
require File.expand_path("#{File.dirname(__FILE__)}/../../../../lib/net/ntlm/version")

describe Net::NTLM::VERSION do

  it 'should contain an integer value for Major Version' do
    expect(Net::NTLM::VERSION::MAJOR).to be_an Integer
  end

  it 'should contain an integer value for Minor Version' do
    expect(Net::NTLM::VERSION::MINOR).to be_an Integer
  end

  it 'should contain an integer value for Patch Version' do
    expect(Net::NTLM::VERSION::TINY).to be_an Integer
  end

  it 'should contain an aggregate version string' do
    string = [
        Net::NTLM::VERSION::MAJOR,
        Net::NTLM::VERSION::MINOR,
        Net::NTLM::VERSION::TINY
    ].join('.')
    expect(Net::NTLM::VERSION::STRING).to be_a String
    expect(Net::NTLM::VERSION::STRING).to eq(string)
  end
end

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
vagrant-unbundled-1.9.1.1 vendor/bundle/ruby/2.4.0/gems/rubyntlm-0.6.1/spec/lib/net/ntlm/version_spec.rb
vagrant-compose-yaml-0.1.3 vendor/bundle/ruby/2.2.0/gems/rubyntlm-0.6.0/spec/lib/net/ntlm/version_spec.rb
rubyntlm-0.6.1 spec/lib/net/ntlm/version_spec.rb
vagrant-compose-yaml-0.1.2 vendor/bundle/ruby/2.2.0/gems/rubyntlm-0.6.0/spec/lib/net/ntlm/version_spec.rb
vagrant-compose-yaml-0.1.1 vendor/bundle/ruby/2.2.0/gems/rubyntlm-0.6.0/spec/lib/net/ntlm/version_spec.rb
vagrant-compose-yaml-0.1.0 vendor/bundle/ruby/2.2.0/gems/rubyntlm-0.6.0/spec/lib/net/ntlm/version_spec.rb
vagrant-unbundled-1.8.5.2 vendor/bundle/ruby/2.3.0/gems/rubyntlm-0.6.0/spec/lib/net/ntlm/version_spec.rb
vagrant-unbundled-1.8.5.1 vendor/bundle/ruby/2.3.0/gems/rubyntlm-0.6.0/spec/lib/net/ntlm/version_spec.rb
vagrant-unbundled-1.8.4.2 vendor/bundle/ruby/2.3.0/gems/rubyntlm-0.6.0/spec/lib/net/ntlm/version_spec.rb
vagrant-unbundled-1.8.4.1 vendor/bundle/ruby/2.3.0/gems/rubyntlm-0.6.0/spec/lib/net/ntlm/version_spec.rb
rubyntlm-0.6.0 spec/lib/net/ntlm/version_spec.rb