Sha256: 4bbed9ba9912d58abe5978462f905bab3fde37bd182ac42de91cf9b21940005f

Contents?: true

Size: 209 Bytes

Versions: 3

Compression:

Stored size: 209 Bytes

Contents

require 'base64'

describe "Base64#decode64" do
  it "returns the Base64-decoded version of the given string" do
    Base64.decode64("U2VuZCByZWluZm9yY2VtZW50cw==\n").should == "Send reinforcements"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rubysl-base64-1.0.1 spec/decode64_spec.rb
rubysl-base64-1.0.0 spec/decode64_spec.rb
rubysl-base64-2.0.0 spec/decode64_spec.rb