aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/library/base64/decode64_spec.rb
blob: 3b81203588b36c962980dc34af313c8b077a65ff (plain)
1
2
3
4
5
6
7
8
9
require_relative '../../spec_helper'

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