aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Julien Boeuf <jboeuf@google.com>2015-04-18 22:12:48 -0700
committerGravatar Julien Boeuf <jboeuf@google.com>2015-04-18 22:12:48 -0700
commitaab1edc5f6456117d201e73103a12efb4c114556 (patch)
treebd1372001caaddf0a483571eca01ac76df8b0d97
parent7d1d9ca7faf6e5cd37df572ab98ff500c07297b9 (diff)
Fixing inaccurate ruby test.
-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