Sha256: 1d210f7477a8ad6a7955735c3af60675c86d7f280b988e252ad9010c3c5c8683

Contents?: true

Size: 395 Bytes

Versions: 15

Compression:

Stored size: 395 Bytes

Contents

require 'spec_helper'

describe Slosilo::Random do
  subject { Slosilo::Random }
  let(:other_salt) { Slosilo::Random::salt }
  
  describe '#salt' do
    subject { super().salt }
    describe '#length' do
      subject { super().length }
      it { is_expected.to eq(32) }
    end
  end

  describe '#salt' do
    subject { super().salt }
    it { is_expected.not_to eq(other_salt) }
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
slosilo-3.0.2.pre.224 spec/random_spec.rb
slosilo-3.0.2.pre.5 spec/random_spec.rb
slosilo-3.0.2.pre.44 spec/random_spec.rb
slosilo-3.0.2.pre.42 spec/random_spec.rb
slosilo-3.0.2.pre.2 spec/random_spec.rb
slosilo-3.0.2.pre.35 spec/random_spec.rb
slosilo-0.0.0 spec/random_spec.rb
slosilo-3.0.1 spec/random_spec.rb
slosilo-3.0.0 spec/random_spec.rb
slosilo-2.2.2 spec/random_spec.rb
slosilo-2.2.1 spec/random_spec.rb
slosilo-2.1.1 spec/random_spec.rb
slosilo-2.0.1 spec/random_spec.rb
slosilo-2.0.0 spec/random_spec.rb
slosilo-1.1.0 spec/random_spec.rb