Skip to content

Commit 613bb4a

Browse files
committed
Add test with dashed user and database
1 parent 9ac1eb5 commit 613bb4a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/fixtures/cookbooks/pgtest/recipes/create_database.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
owner 'test01'
77
end
88

9-
postgresql_database 'test02' do
9+
postgresql_database 'test-02' do
1010
in_version node['postgresql']['defaults']['server']['version']
1111
in_cluster 'main'
12-
owner 'test02'
12+
owner 'test-02'
1313
end

test/fixtures/cookbooks/pgtest/recipes/create_user.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
replication true
88
end
99

10-
postgresql_user 'test02' do
10+
postgresql_user 'test-02' do
1111
in_version node['postgresql']['defaults']['server']['version']
1212
in_cluster 'main'
13-
unencrypted_password 'test02'
13+
unencrypted_password 'test-02'
1414
superuser true
1515
end

0 commit comments

Comments
 (0)