Sha256: 6625417bd66d2875a576a9e5f33856de5326696bdd951e67dfd2d053b0643dbd

Contents?: true

Size: 322 Bytes

Versions: 1

Compression:

Stored size: 322 Bytes

Contents

require 'spec_helper'

describe Clandestine::Crypt do
  include Clandestine::Crypt
  it "should encrypt data" do
    encrypt("this is a test",'password').should_not eql "this is a test"
  end
  it "should decrypt data" do
    decrypt(encrypt("this is a test",'password'), 'password').should eql "this is a test"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
clandestine-0.0.1 spec/crypt_spec.rb