Sha256: 256db23698f01aaaa35ae1ca4a4ca04611f290dd037a2acfd449b53910a07ae9

Contents?: true

Size: 200 Bytes

Versions: 1

Compression:

Stored size: 200 Bytes

Contents

# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Article, '.idy' do
  subject { Article.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.0.0 spec/lib/idy/extension/idy_spec.rb