Sha256: 9e99826ca8d1f28ebe9c3b0a851adb8fb00eca0124d0e3676f5529aedba999d4

Contents?: true

Size: 191 Bytes

Versions: 3

Compression:

Stored size: 191 Bytes

Contents

# frozen_string_literal: true

require 'rails_helper'

RSpec.describe '.idy' do
  subject { Article.new id: 1 }

  it 'returns the encoded id' do
    expect(subject.idy).to eq 'My'
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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