Sha256: 4ec85268b64e989dd51714442221b39ef580713f3466b86605c2af6c24487647

Contents?: true

Size: 481 Bytes

Versions: 22

Compression:

Stored size: 481 Bytes

Contents

# coding: utf-8
# frozen_string_literal: true

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

describe "Stealth::Version" do

  let(:version_in_file) { File.read(File.join(File.dirname(__FILE__), '..', 'VERSION')).strip }

  it "should return the current gem version" do
    expect(Stealth::Version.version).to eq version_in_file
  end

  it "should return the current gem version via a constant" do
    expect(Stealth::VERSION).to eq version_in_file
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
stealth-1.1.6 spec/version_spec.rb
stealth-1.1.5 spec/version_spec.rb
stealth-1.1.4 spec/version_spec.rb
stealth-1.1.3 spec/version_spec.rb
stealth-1.1.2 spec/version_spec.rb
stealth-1.1.1 spec/version_spec.rb
stealth-1.1.0 spec/version_spec.rb
stealth-1.1.0.rc3 spec/version_spec.rb
stealth-1.1.0.rc2 spec/version_spec.rb
stealth-1.1.0.rc1 spec/version_spec.rb
stealth-1.0.4 spec/version_spec.rb
stealth-1.0.3 spec/version_spec.rb
stealth-1.0.2 spec/version_spec.rb
stealth-1.0.1 spec/version_spec.rb
stealth-1.0.0 spec/version_spec.rb
stealth-1.0.0.rc1 spec/version_spec.rb
stealth-1.0.0.pre2 spec/version_spec.rb
stealth-1.0.0.pre1 spec/version_spec.rb
stealth-0.10.6 spec/version_spec.rb
stealth-0.10.5 spec/version_spec.rb