Fix typo in administered_domains method name

This commit is contained in:
Maciej Szlosarczyk 2018-08-27 09:12:47 +03:00
parent fc2a4eaa9b
commit d725960403
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765
3 changed files with 4 additions and 4 deletions

View file

@ -19,8 +19,8 @@ class RegistrantUserTest < ActiveSupport::TestCase
refute(domain_names.include?('shop.test'))
end
def test_administrated_domains_returns_a_list_of_domains
domain_names = @user.administrated_domains.pluck(:name)
def test_administered_domains_returns_a_list_of_domains
domain_names = @user.administered_domains.pluck(:name)
assert_equal(3, domain_names.length)
# User is a tech contact for the domain.