Sha256: e741dac1959e0a3083f419e51d92e98eab38c4d20105e06d3bb001143287905d

Contents?: true

Size: 447 Bytes

Versions: 4

Compression:

Stored size: 447 Bytes

Contents

require 'spec_helper'

describe MWS::QueryString::Signature do
  let(:signature){ MWS::QueryString::Signature.new(text, key) }
  let(:text){ "This text will be signed." }
  let(:key){ "ThisIsSigningKey" }
  let(:signed_string){ "6/r286zqzGe2NW6oVT9he24kp0GEdvhT/uDP43VNFzQ=" }

  describe "initialize" do
    subject{ signature }
    it{ is_expected.to be_a String }
    it("should be signed string"){ is_expected.to eq(signed_string) }
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
marketplace_web_service-0.0.4 spec/mws/query_string/signature_spec.rb
marketplace_web_service-0.0.3 spec/mws/query_string/signature_spec.rb
marketplace_web_service-0.0.2 spec/mws/query_string/signature_spec.rb
marketplace_web_service-0.0.1 spec/mws/query_string/signature_spec.rb