Update cookbooks and add wordpress cookbook
This commit is contained in:
@@ -28,12 +28,12 @@ describe 'postgresql::apt_pgdg_postgresql' do
|
||||
file("/etc/apt/sources.list.d/apt.postgresql.org.list").must_exist
|
||||
end
|
||||
|
||||
it 'installs postgresql-client-9.3' do
|
||||
package("postgresql-client-9.3").must_be_installed
|
||||
it 'installs postgresql-client-9.4' do
|
||||
package("postgresql-client-9.4").must_be_installed
|
||||
end
|
||||
|
||||
it 'makes psql version 9.3 available' do
|
||||
it 'makes psql version 9.4 available' do
|
||||
psql = shell_out("psql --version")
|
||||
assert psql.stdout.include?("psql (PostgreSQL) 9.3")
|
||||
assert psql.stdout.include?("psql (PostgreSQL) 9.4")
|
||||
end
|
||||
end
|
||||
|
||||
@@ -30,6 +30,7 @@ describe 'postgresql::server' do
|
||||
end
|
||||
|
||||
it 'can connect to postgresql' do
|
||||
Gem.clear_paths
|
||||
require 'pg'
|
||||
conn = PG::Connection.new(
|
||||
:host => 'localhost',
|
||||
|
||||
Reference in New Issue
Block a user