Sha256: 964a471fa0ed8b580e7a175e6ed3c6acace655fe08a06261fdc6acb4356a4950

Contents?: true

Size: 741 Bytes

Versions: 33

Compression:

Stored size: 741 Bytes

Contents

require 'spec_helper'

## We'll assume a system-level install for testing purposes
describe file('/usr/local/rbenv') do
  it { should be_directory }
  it { should be_owned_by 'root' }
  it { should be_grouped_into 'root' }
end

describe file('/usr/local/rbenv/bin/rbenv') do
  it { should be_file }
  it { should be_executable }
  it { should be_executable.by('others') }
  it { should be_owned_by 'root' }
  it { should be_grouped_into 'root' }
end

describe command('bash -l -c "which rbenv"') do
  its(:stdout) { should match /\/usr\/local\/rbenv\/bin\/rbenv/ }
  it { should return_exit_status 0 }
end

describe command('bash -l -c "rbenv --version"') do
  its(:stdout) { should match /0\.4\.0/ }
  it { should return_exit_status 0 }
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
taperole-1.5.5 vendor/zzet.rbenv/test/integration/default/serverspec/rbenv_spec.rb
taperole-1.5.4 vendor/zzet.rbenv/test/integration/default/serverspec/rbenv_spec.rb
taperole-1.5.3 vendor/zzet.rbenv/test/integration/default/serverspec/rbenv_spec.rb
taperole-1.5.2 vendor/zzet.rbenv/test/integration/default/serverspec/rbenv_spec.rb
taperole-1.5.1 vendor/zzet.rbenv/test/integration/default/serverspec/rbenv_spec.rb
taperole-1.5.0 vendor/zzet.rbenv/test/integration/default/serverspec/rbenv_spec.rb
taperole-1.4.3 vendor/zzet.rbenv/test/integration/default/serverspec/rbenv_spec.rb
taperole-1.4.2 vendor/zzet.rbenv/test/integration/default/serverspec/rbenv_spec.rb
taperole-1.4.1 vendor/zzet.rbenv/test/integration/default/serverspec/rbenv_spec.rb
taperole-1.4.0 vendor/zzet.rbenv/test/integration/default/serverspec/rbenv_spec.rb
taperole-1.3.6 vendor/zzet.rbenv/test/integration/default/serverspec/rbenv_spec.rb
taperole-1.3.5 vendor/zzet.rbenv/test/integration/default/serverspec/rbenv_spec.rb
taperole-1.3.4 vendor/zzet.rbenv/test/integration/default/serverspec/rbenv_spec.rb
taperole-1.3.3 vendor/zzet.rbenv/test/integration/default/serverspec/rbenv_spec.rb
taperole-1.3.2 vendor/zzet.rbenv/test/integration/default/serverspec/rbenv_spec.rb
taperole-1.3.1 vendor/zzet.rbenv/test/integration/default/serverspec/rbenv_spec.rb
taperole-1.3.0 vendor/zzet.rbenv/test/integration/default/serverspec/rbenv_spec.rb
taperole-1.2.8 vendor/zzet.rbenv/test/integration/default/serverspec/rbenv_spec.rb
taperole-1.2.7 vendor/zzet.rbenv/test/integration/default/serverspec/rbenv_spec.rb
taperole-1.2.6 vendor/zzet.rbenv/test/integration/default/serverspec/rbenv_spec.rb