spec/lib/idy/extension/options_spec.rb in idy-0.1.3 vs spec/lib/idy/extension/options_spec.rb in idy-1.0.0
- old
+ new
@@ -1,9 +1,9 @@
# frozen_string_literal: true
require 'rails_helper'
-RSpec.describe '.idy_options' do
+RSpec.describe Article, '.idy_options' do
context 'when options is not given' do
it 'returns a default options with a salt generated based on model name' do
expect(Article.idy_options).to eq(salt: article_default_salt)
end
end