Sha256: 357b4de85af7107eb253eff10bd9a29d6ff5e0eb14d415584f84d87a3415fb19

Contents?: true

Size: 295 Bytes

Versions: 1

Compression:

Stored size: 295 Bytes

Contents

require 'test_helper'
require 'base64'
require 'core_ext/string'

describe "string_extensions" do
  it "can guess reasonably if a string is base64" do
    sample_string = "so many cloud platforms"
    enc_string = Base64.encode64(sample_string)
    assert enc_string.resembles_base64?
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azurex-0.6.7 test/unit/core_ext/string_test.rb