We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 588139b commit 0b1fa1eCopy full SHA for 0b1fa1e
spec/read_write_users.erb_spec.rb
@@ -9,6 +9,27 @@
9
ERB.new(template).result(binding).split("\n")
10
end
11
12
+ context 'blobstore with no agent user settings' do
13
+ let(:properties) do
14
+ {
15
+ 'properties' => {
16
+ 'blobstore' => {
17
+ 'director' => {
18
+ 'user' => 'director-0',
19
+ 'password' => 'oeuirgh9453yt44y98',
20
+ },
21
22
23
+ }
24
+ end
25
+
26
+ it 'should render *_users.erb file with director user only' do
27
+ expect(rendered_template_lines.count).to eq(1)
28
+ expect(rendered_template_lines).not_to include('agent-0:')
29
+ expect(rendered_template_lines).to include('director-0:{PLAIN}oeuirgh9453yt44y98')
30
31
32
33
context 'blobstore with single users settings' do
34
let(:properties) do
35
{
0 commit comments