Skip to content

Commit 320d2ac

Browse files
author
Daniel Wright
committed
Forgot about tests 😞
1 parent 80f8984 commit 320d2ac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spec/classes/postgresql__config_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
it do
77
should include_class('boxen::config')
88

9-
%w(data/postgresql log/postgresql).each do |d|
9+
%w(data/postgresql-9.3 log/postgresql-9.3).each do |d|
1010
should contain_file("/test/boxen/#{d}").with_ensure(:directory)
1111
end
1212

spec/classes/postgresql__service_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
it do
77
should contain_service("com.boxen.postgresql").with_ensure(:stopped)
88

9-
should contain_exec("init-postgresql-db").with_creates("/test/boxen/data/postgresql/PG_VERSION")
9+
should contain_exec("init-postgresql-db").with_creates("/test/boxen/data/postgresql-9.3/PG_VERSION")
1010
should contain_service("dev.postgresql").with_ensure(:running)
1111
should contain_exec("wait-for-postgresql").with_unless("nc -z 127.0.0.1 15432")
1212
end

0 commit comments

Comments
 (0)