diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-04-19 15:01:52 -0700 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-04-19 15:01:52 -0700 |
commit | b572fcba35fd66cce102b29389a5892d3d45e651 (patch) | |
tree | 611f506c26111f761f00fc2882052fe40c3f9740 /src/ruby/spec | |
parent | 19955c82bf8fd49ba2588222b0fe91db65171f06 (diff) | |
parent | aab1edc5f6456117d201e73103a12efb4c114556 (diff) |
Merge pull request #1315 from jboeuf/security_connector
Refactoring of core security to remove the factories.
Diffstat (limited to 'src/ruby/spec')
-rw-r--r-- | src/ruby/spec/credentials_spec.rb | 4 |
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 |