test/encoder_test.rb in symmetric-encryption-4.0.0 vs test/encoder_test.rb in symmetric-encryption-4.0.1
- old
+ new
@@ -1,13 +1,12 @@
-# encoding: utf-8
require_relative 'test_helper'
# Unit Test for SymmetricEncryption
#
class EncoderTest < Minitest::Test
describe SymmetricEncryption::Encoder do
- [:none, :base64, :base64strict, :base16].each do |encoding|
+ %i[none base64 base64strict base16].each do |encoding|
describe "encoding: #{encoding}" do
before do
@data = '987654321'
@data_encoded =
case encoding
@@ -55,7 +54,6 @@
assert_equal '', @encoder.decode('')
end
end
end
end
-
end