Sha256: 8d76bea278552eae2eb960f3ff6a46c57472aeb5111d1b456cf945af266eab74

Contents?: true

Size: 457 Bytes

Versions: 9

Compression:

Stored size: 457 Bytes

Contents

require 'spec_helper'

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

  context 'Version 1.2.3-p456' do
    let(:title) { '1.2.3-p456' }

    it {
      should contain_exec('rbenv rehash for 1.2.3-p456').with(
        :command     => '/usr/bin/rbenv rehash',
        :environment => [
          'RBENV_ROOT=/usr/lib/rbenv',
          'RBENV_VERSION=1.2.3-p456',
        ],
        :refreshonly => true
      )
    }
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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