# 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