Skip to content

Commit 1514027

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

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/active_record_test.rb

+5
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_decrypted_attributes
342+
@person = Person.new(email: '[email protected]')
343+
refute @person.attributes.keys.include? "email"
344+
end
340345
end

0 commit comments

Comments
 (0)