Sha256: b694dfecb2c62f06b1f9247bae0e9c267c5d87b873ca114b902453d453914ea9

Contents?: true

Size: 200 Bytes

Versions: 31

Compression:

Stored size: 200 Bytes

Contents

RSpec::Matchers.define :be_strkey do |version_byte|
  match do |actual|
    begin
      Stellar::Util::StrKey.check_decode(version_byte, actual)
    rescue ArgumentError
      false
    end
  end
end

Version data entries

31 entries across 31 versions & 3 rubygems

Version Path
stellar-base-0.6.0 spec/support/matchers/be_strkey.rb
stellar-base-0.5.0 spec/support/matchers/be_strkey.rb
stellar-base-0.4.0 spec/support/matchers/be_strkey.rb
open-core-0.3.0 spec/support/matchers/be_strkey.rb
stellar-base-0.3.0 spec/support/matchers/be_strkey.rb
stellar-base-0.2.0 spec/support/matchers/be_strkey.rb
stellar-base-0.1.4 spec/support/matchers/be_strkey.rb
stellar-base-0.1.3 spec/support/matchers/be_strkey.rb
stellar-base-0.1.2 spec/support/matchers/be_strkey.rb
stellar-base-0.1.1 spec/support/matchers/be_strkey.rb
stellar-base-0.1.0 spec/support/matchers/be_strkey.rb