Sha256: 7d5eb5dc40b9d1aa9ec5d3e2518ab69d698e5f86e0dc15dbd3778e14e60b85cb

Contents?: true

Size: 208 Bytes

Versions: 1

Compression:

Stored size: 208 Bytes

Contents

# frozen_string_literal: true

require 'rails_helper'

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
idy-1.1.0 spec/lib/idy/extension/idy_spec.rb