Sha256: 39a7543cdc4d342f20a317fdd6f84ecd45b69ce7bb8267504f1dc5cf28f54a83
Contents?: true
Size: 408 Bytes
Versions: 20
Compression:
Stored size: 408 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Encoders::Base64Strict do context '#encode' do it 'encodes string' do encoder = Encoders::Base64Strict.new expect(encoder.encode('string')).to eq 'c3RyaW5n' end end context '#decode' do it 'decodes string' do encoder = Encoders::Base64Strict.new expect(encoder.decode( 'c3RyaW5n')).to eq 'string' end end end
Version data entries
20 entries across 20 versions & 1 rubygems