aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby/spec/credentials_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'src/ruby/spec/credentials_spec.rb')
-rw-r--r--src/ruby/spec/credentials_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ruby/spec/credentials_spec.rb b/src/ruby/spec/credentials_spec.rb
index fc97d11a87..8e72e85d54 100644
--- a/src/ruby/spec/credentials_spec.rb
+++ b/src/ruby/spec/credentials_spec.rb
@@ -61,11 +61,11 @@ describe Credentials do
end
describe '#compose' do
- it 'can be completed OK' do
+ it 'cannot be completed OK with 2 SSL creds' do
certs = load_test_certs
cred1 = Credentials.new(*certs)
cred2 = Credentials.new(*certs)
- expect { cred1.compose(cred2) }.to_not raise_error
+ expect { cred1.compose(cred2) }.to raise_error
end
end
end