Skip to content

Commit

Permalink
fix rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
theforestvn88 committed Dec 28, 2023
1 parent 17ff2c3 commit 6762f8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/shoulda/matchers/active_record/encrypt_matcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def options_correct?(*opts)
end

def encrypted_attributes
@_encrypted_attributes ||= (@subject.class.encrypted_attributes || [])
@_encrypted_attributes ||= @subject.class.encrypted_attributes || []
end

def encrypted_attribute_scheme
Expand Down

0 comments on commit 6762f8b

Please sign in to comment.