Sha256: 18ee5ae7d09468b5314589df7841fa4973c04e25f3e0f428676381d5aaeb6a94

Contents?: true

Size: 308 Bytes

Versions: 21

Compression:

Stored size: 308 Bytes

Contents

# -*- coding: utf-8 -*-
require 'spec_helper'

describe Mushikago::Auth::Signer do
  subject{ Mushikago::Auth::Signer.new('secret_key') }
  it{ subject.sign('a').should == 'xkEgZ9jFgFpvfp6KFGd8tGXDZkuS0FGMAsyvyP6YglQ=' }
  it{ subject.sign('b').should == 'RIPOrMecy+TXyaLH2cLiETj4B713c5UD9YVZuOMHVR8=' }
end

Version data entries

21 entries across 18 versions & 1 rubygems

Version Path
mushikago-sdk-0.3.1 spec/mushikago/auth/signer_spec.rb