Skip to content

Commit

Permalink
Add '(' to password to replicate bug #2114
Browse files Browse the repository at this point in the history
  • Loading branch information
h-artzi committed Apr 22, 2021
1 parent 50b4bcc commit 04d989c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/conjurctl/account_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def delete_account(name)
delete_account("demo")
end

let(:password) { "MySecretP@SS1" }
let(:password) { "MySecretP@SS1()!" }
let(:create_account_with_password_and_name_flag) do
"conjurctl account create --name demo --password-from-stdin"
end
Expand All @@ -41,7 +41,7 @@ def delete_account(name)
expect(Role["demo:user:admin"]).to be
end

it "with predefined password MySecretP@SS1 and account name flag" do
it "with predefined password #{password} and account name flag" do
stdout_str, = Open3.capture3(
create_account_with_password_and_name_flag, stdin_data: password
)
Expand All @@ -50,7 +50,7 @@ def delete_account(name)
expect(Role["demo:user:admin"]).to be
end

it "with predefined password MySecretP@SS1" do
it "with predefined password #{password}" do
stdout_str, = Open3.capture3(
create_account_with_password_flag, stdin_data: password
)
Expand Down

0 comments on commit 04d989c

Please sign in to comment.