diff --git a/spec/models/socializer/person_spec.rb b/spec/models/socializer/person_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/models/socializer/person_spec.rb
+++ b/spec/models/socializer/person_spec.rb
@@ -41,7 +41,7 @@ module Socializer
     end
 
     context 'validations' do
-      it { is_expected.to ensure_inclusion_of(:avatar_provider).in_array(%w(TWITTER FACEBOOK LINKEDIN GRAVATAR)) }
+      it { is_expected.to validate_inclusion_of(:avatar_provider).in_array(%w(TWITTER FACEBOOK LINKEDIN GRAVATAR)) }
     end
 
     it '.create_with_omniauth' do
ensure_inclusion_of has been renamed to validate_inclusion_of