require 'spec_helper'

describe 'postgresql::tablespace', :type => :define do
  let :facts do
    {
      :postgres_default_version => '8.4',
      :osfamily => 'Debian',
    }
  end
  let :title do
    'test'
  end
  it { should include_class("postgresql::params") }
end

require 'spec_helper'

describe 'postgresql::tablespace', :type => :define do
  let :facts do
    {
      :postgres_default_version => '8.4',
      :osfamily => 'Debian',
    }
  end
  let :title do
    'test'
  end
  let :params do
    {
      :location => '/srv/data/foo',
    }
  end
  it { should include_class("postgresql::params") }
end

Include location in postgresql::tablespace test
Include location in postgresql::tablespace test

Signed-off-by: Ken Barber <470bc578162732ac7f9d387d34c4af4ca6e1b6f7@bob.sh>
