summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorChristoph <chris@inferno.nadir.org>2015-11-26 15:51:09 +0100
committerChristoph <chris@inferno.nadir.org>2015-11-26 20:30:31 +0100
commitdc89ea4c67fcad2dc5f239c5d2c482f3b6e056e5 (patch)
treeffa908eb511a6c966f29ba7c8c7e14e659af9394 /spec
parent83a4d75bf8a480a98ac6fcdc220db59b9133112e (diff)
use versioncmp instead of operatingsystemmajrelease
operatingsystemmajrelease does not work on wheezy
Diffstat (limited to 'spec')
-rw-r--r--spec/classes/couchdb_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/classes/couchdb_spec.rb b/spec/classes/couchdb_spec.rb
index 0dd069a..e8e4174 100644
--- a/spec/classes/couchdb_spec.rb
+++ b/spec/classes/couchdb_spec.rb
@@ -5,7 +5,7 @@ describe 'couchdb' do
let(:params) { {:admin_pw => 'foo'} }
let(:facts) do
{
- :operatingsystemmajrelease => '7',
+ :operatingsystemrelease => '7',
:operatingsystem => 'Debian',
:lsbdistcodename => 'wheezy',
}
@@ -20,7 +20,7 @@ describe 'couchdb' do
let(:params) { {:admin_pw => 'foo'} }
let(:facts) do
{
- :operatingsystemmajrelease => '8',
+ :operatingsystemrelease => '8',
:operatingsystem => 'Debian',
:lsbdistcodename => 'jessie',
}