From 9b1bec2ace7f4d9529c6593e4a23990216eb1319 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Pinson?= Date: Thu, 18 Apr 2013 22:35:50 +0200 Subject: Adapt specs to use rubyversion for ruby lib version detection --- spec/hosts/simple_debian_wheezy_spec.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'spec') 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' } } -- cgit v1.2.3