Sha256: bded65c05b922987fd990dbe6d13a1c5c07e096a959ad1aa39bf37bfa93409b6

Contents?: true

Size: 472 Bytes

Versions: 7

Compression:

Stored size: 472 Bytes

Contents

# frozen_string_literal: true

require 'avm/eac_ruby_base1/rubygems/version_file'

RSpec.describe Avm::EacRubyBase1::Rubygems::VersionFile do
  let(:stubs_dir) { Pathname.new(__dir__).join('version_file_spec_files') }
  let(:stub_file) { stubs_dir.join('a_version_file.rb') }
  let(:instance) { described_class.new(stub_file) }
  let(:target_version) { Gem::Version.new('0.69.1') }

  describe '#value' do
    it { expect(instance.value).to eq(target_version) }
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
eac_tools-0.95.0 sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/rubygems/version_file_spec.rb
eac_tools-0.91.1 sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/rubygems/version_file_spec.rb
eac_tools-0.91.0 sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/rubygems/version_file_spec.rb
eac_tools-0.83.0 sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/rubygems/version_file_spec.rb
eac_tools-0.82.0 sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/rubygems/version_file_spec.rb
eac_tools-0.81.0 sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/rubygems/version_file_spec.rb
eac_tools-0.80.0 sub/avm-eac_ruby_base1/spec/lib/avm/eac_ruby_base1/rubygems/version_file_spec.rb