spec/lib/idy/extension/idy_spec.rb in idy-0.1.3 vs spec/lib/idy/extension/idy_spec.rb in idy-1.0.0
- old
+ new
@@ -1,9 +1,9 @@
# frozen_string_literal: true
require 'rails_helper'
-RSpec.describe '.idy' do
+RSpec.describe Article, '.idy' do
subject { Article.new id: 1 }
it 'returns the encoded id' do
expect(subject.idy).to eq 'My'
end