summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorRaphaël Pinson <raphael.pinson@camptocamp.com>2013-04-18 22:35:50 +0200
committerRaphaël Pinson <raphael.pinson@camptocamp.com>2013-04-18 22:35:50 +0200
commit9b1bec2ace7f4d9529c6593e4a23990216eb1319 (patch)
tree987c42142c548ab1f3db7df9392bec306bd29f2f /spec
parent5b0631950a43acdd8a2a2236dc1b772e7f16e449 (diff)
Adapt specs to use rubyversion for ruby lib version detection
Diffstat (limited to 'spec')
-rw-r--r--spec/hosts/simple_debian_wheezy_spec.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/hosts/simple_debian_wheezy_spec.rb b/spec/hosts/simple_debian_wheezy_spec.rb
index 23c0d1d..8985e28 100644
--- a/spec/hosts/simple_debian_wheezy_spec.rb
+++ b/spec/hosts/simple_debian_wheezy_spec.rb
@@ -1,9 +1,10 @@
require 'spec_helper'
-describe 'simple_debian_squeeze' do
+describe 'simple_debian_wheezy' do
let (:facts) { {
:osfamily => 'Debian',
:lsbdistcodename => 'wheezy',
+ :rubyversion => '1.9.1',
} }
context 'when versions are not specified' do
@@ -26,6 +27,7 @@ describe 'simple_debian_squeeze' do
let (:facts) { {
:osfamily => 'Debian',
:lsbdistcodename => 'wheezy',
+ :rubyversion => '1.9.1',
:augeas_version => '1.2.3',
:augeas_ruby_version => '3.2.1',
} }
@@ -68,6 +70,7 @@ describe 'simple_debian_squeeze' do
let (:facts) { {
:osfamily => 'Debian',
:lsbdistcodename => 'wheezy',
+ :rubyversion => '1.9.1',
:augeas_lens_dir => '/opt/augeas/lenses'
} }