Commit 5e85385423462f5656855160ae21a1b149ac19ef
1 parent
d53d8b69
Exists in
master
and in
29 other branches
person-test: remove unnecessary tests
Showing
1 changed file
with
0 additions
and
15 deletions
Show diff stats
test/unit/person_test.rb
... | ... | @@ -1446,19 +1446,4 @@ class PersonTest < ActiveSupport::TestCase |
1446 | 1446 | assert 3, original_person.memberships.count |
1447 | 1447 | end |
1448 | 1448 | |
1449 | - should 'respond to extra fields' do | |
1450 | - user = create_user('some-user').person | |
1451 | - | |
1452 | - assert user.respond_to?(:personal_website) | |
1453 | - assert user.respond_to?(:jabber_id) | |
1454 | - end | |
1455 | - | |
1456 | - should 'return extra fields when fields method is called' do | |
1457 | - extra_fields = ['jabber_id', 'personal_website'] | |
1458 | - | |
1459 | - extra_fields.each do |field| | |
1460 | - assert_includes Person.fields, field | |
1461 | - end | |
1462 | - end | |
1463 | - | |
1464 | 1449 | end | ... | ... |