```ruby
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
```

Include location in postgresql::tablespace test
user
```ruby
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
```
assistant