Sha256: e5bfc077543ec0dd9ee92c9ce56a0ec5ada4492dccea779d641a74bb9a5fa6fc

Contents?: true

Size: 421 Bytes

Versions: 7

Compression:

Stored size: 421 Bytes

Contents

# frozen_string_literal: true

require '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

7 entries across 7 versions & 1 rubygems

Version Path
stealth-2.0.0.beta7 spec/version_spec.rb
stealth-2.0.0.beta6 spec/version_spec.rb
stealth-2.0.0.beta5 spec/version_spec.rb
stealth-2.0.0.beta4 spec/version_spec.rb
stealth-2.0.0.beta3 spec/version_spec.rb
stealth-2.0.0.beta2 spec/version_spec.rb
stealth-2.0.0.beta1 spec/version_spec.rb