Sha256: dea40f4c631f8d4283c10941cc5b28fbe1bd487f6cb2c2a47f941b3b04c02bf1

Contents?: true

Size: 368 Bytes

Versions: 24

Compression:

Stored size: 368 Bytes

Contents

describe KnapsackPro::Crypto::Digestor do
  describe '.salt_hexdigest' do
    let(:path) { 'a_spec.rb' }

    subject { described_class.salt_hexdigest(path) }

    before do
      expect(KnapsackPro::Config::Env).to receive(:salt).at_least(1).and_return('123')
    end

    it { should eq '93131469d5aee8158473f9945847cd411ba975644b617897b7c33164adc55038' }
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
knapsack_pro-0.31.0 spec/knapsack_pro/crypto/digestor_spec.rb
knapsack_pro-0.30.0 spec/knapsack_pro/crypto/digestor_spec.rb
knapsack_pro-0.29.0 spec/knapsack_pro/crypto/digestor_spec.rb
knapsack_pro-0.28.1 spec/knapsack_pro/crypto/digestor_spec.rb
knapsack_pro-0.28.0 spec/knapsack_pro/crypto/digestor_spec.rb
knapsack_pro-0.27.0 spec/knapsack_pro/crypto/digestor_spec.rb
knapsack_pro-0.26.0 spec/knapsack_pro/crypto/digestor_spec.rb
knapsack_pro-0.25.0 spec/knapsack_pro/crypto/digestor_spec.rb
knapsack_pro-0.24.0 spec/knapsack_pro/crypto/digestor_spec.rb
knapsack_pro-0.23.0 spec/knapsack_pro/crypto/digestor_spec.rb
knapsack_pro-0.22.0 spec/knapsack_pro/crypto/digestor_spec.rb
knapsack_pro-0.21.0 spec/knapsack_pro/crypto/digestor_spec.rb
knapsack_pro-0.20.0 spec/knapsack_pro/crypto/digestor_spec.rb
knapsack_pro-0.19.0 spec/knapsack_pro/crypto/digestor_spec.rb
knapsack_pro-0.18.0 spec/knapsack_pro/crypto/digestor_spec.rb
knapsack_pro-0.17.0 spec/knapsack_pro/crypto/digestor_spec.rb
knapsack_pro-0.16.0 spec/knapsack_pro/crypto/digestor_spec.rb
knapsack_pro-0.15.2 spec/knapsack_pro/crypto/digestor_spec.rb
knapsack_pro-0.15.1 spec/knapsack_pro/crypto/digestor_spec.rb
knapsack_pro-0.15.0 spec/knapsack_pro/crypto/digestor_spec.rb