lib/submodules/ably-ruby/spec/unit/util/crypto_spec.rb in ably-rest-0.9.3 vs lib/submodules/ably-ruby/spec/unit/util/crypto_spec.rb in ably-rest-1.0.0
- old
+ new
@@ -98,11 +98,11 @@
context 'using shared client lib fixture data' do
let(:resources_root) { File.expand_path('../../../../lib/submodules/ably-common/test-resources', __FILE__) }
let(:encryption_data_128) { JSON.parse(File.read(File.join(resources_root, 'crypto-data-128.json'))) }
let(:encryption_data_256) { JSON.parse(File.read(File.join(resources_root, 'crypto-data-256.json'))) }
- shared_examples 'an Ably encrypter and decrypter' do
+ shared_examples 'an Ably encrypter and decrypter (#RTL7d)' do
let(:algorithm) { data['algorithm'].upcase }
let(:mode) { data['mode'].upcase }
let(:key_length) { data['keylength'] }
let(:secret_key) { Base64.decode64(data['key']) }
let(:iv) { Base64.decode64(data['iv']) }
@@ -124,15 +124,15 @@
end
context 'with AES-128-CBC' do
let(:data) { encryption_data_128 }
- it_behaves_like 'an Ably encrypter and decrypter'
+ it_behaves_like 'an Ably encrypter and decrypter (#RTL7d)'
end
context 'with AES-256-CBC' do
let(:data) { encryption_data_256 }
- it_behaves_like 'an Ably encrypter and decrypter'
+ it_behaves_like 'an Ably encrypter and decrypter (#RTL7d)'
end
end
end