Skip to content

Commit 5a54b2f

Browse files
committed
Add failing test?
1 parent 11df93a commit 5a54b2f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/active_record_test.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,4 +337,9 @@ def test_should_evaluate_proc_based_mode
337337
refute_equal address.encrypted_zipcode, zipcode
338338
assert_equal address.zipcode, zipcode
339339
end
340+
341+
def test_should_filter_attributes
342+
@person = Person.new(email: 'test@example.com')
343+
assert_equal ["encrypted_email"], @person.attributes.keys
344+
end
340345
end

0 commit comments

Comments
 (0)