Sha256: a039377965f5082cf0bca57f80201f9666f81b68e508066bd7072d4e8d0f3d17

Contents?: true

Size: 436 Bytes

Versions: 9

Compression:

Stored size: 436 Bytes

Contents

require 'spec_helper'

describe 'rbenv::alias' do
  let(:facts) {{
    :osfamily => 'Debian',
  }}

  context '1.2.3 to 1.2.3-p456' do
    let(:title) { '1.2.3' }
    let(:params) {{
      :to_version => '1.2.3-p456',
    }}

    it { 
      should contain_file('/usr/lib/rbenv/versions/1.2.3').with(
        :ensure  => 'link',
        :target  => '1.2.3-p456',
        :require => 'Rbenv::Version[1.2.3-p456]'
      )
    }
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
freighthop-0.2.1 modules/rbenv/spec/defines/rbenv__alias_spec.rb
freighthop-0.2.0 modules/rbenv/spec/defines/rbenv__alias_spec.rb
freighthop-0.1.0 modules/rbenv/spec/defines/rbenv__alias_spec.rb
freighthop-0.0.6 modules/rbenv/spec/defines/rbenv__alias_spec.rb
freighthop-0.0.5 modules/rbenv/spec/defines/rbenv__alias_spec.rb
freighthop-0.0.4 modules/rbenv/spec/defines/rbenv__alias_spec.rb
freighthop-0.0.3 modules/rbenv/spec/defines/rbenv__alias_spec.rb
freighthop-0.0.2 modules/rbenv/spec/defines/rbenv__alias_spec.rb
freighthop-0.0.1 modules/rbenv/spec/defines/rbenv__alias_spec.rb