Sha256: e3e9ddc47d5f8b76b0441f341a60c0968b089abc7066471158999a5233229bcf

Contents?: true

Size: 284 Bytes

Versions: 9

Compression:

Stored size: 284 Bytes

Contents

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

9 entries across 9 versions & 1 rubygems

Version Path
mushikago-sdk-0.2.3 spec/mushikago/auth/signer_spec.rb
mushikago-sdk-0.2.1 spec/mushikago/auth/signer_spec.rb
mushikago-sdk-0.1.8 spec/mushikago/auth/signer_spec.rb
mushikago-sdk-0.1.7 spec/mushikago/auth/signer_spec.rb
mushikago-sdk-0.1.6 spec/mushikago/auth/signer_spec.rb
mushikago-sdk-0.1.5 spec/mushikago/auth/signer_spec.rb
mushikago-sdk-0.1.4 spec/mushikago/auth/signer_spec.rb
mushikago-sdk-0.1.3 spec/mushikago/auth/signer_spec.rb
mushikago-sdk-0.1.2 spec/mushikago/auth/signer_spec.rb