diff --git a/spec/mailers/notify_spec.rb b/spec/mailers/notify_spec.rb
index cf50b429f23d7f2625eebd033d0460afb76d31da..4a9f142e50dcf1f6f87ad7e437a86d2b34faf622 100644
--- a/spec/mailers/notify_spec.rb
+++ b/spec/mailers/notify_spec.rb
@@ -24,7 +24,7 @@ describe Notify do
     end
 
     it 'has the correct subject' do
-      should have_subject /^gitlab \| Account was created for you$/
+      should have_subject /^gitlab \| Account was created for you$/i
     end
 
     it 'contains the new user\'s login name' do