Sha256: db8d6fe9baf1abd866873e154285a07e406db36382bf0aaf15e66f2d091aa81b

Contents?: true

Size: 301 Bytes

Versions: 3

Compression:

Stored size: 301 Bytes

Contents

# frozen_string_literal: true

require 'rails_helper'

RSpec.describe '#idy_default_salt' do
  context 'when class name has a big length' do
    it 'is bases on the first 10 class letter position index on alphabet' do
      expect(Abcdefghijklm.idy_default_salt).to eq '12345678910'
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
idy-0.1.3 spec/lib/idy/extension/idy_default_salt_spec.rb
idy-0.1.2 spec/lib/idy/extension/idy_default_salt_spec.rb
idy-0.1.1 spec/lib/idy/extension/idy_default_salt_spec.rb