diff options
author | Felipe Artur <felipefac@gmail.com> | 2016-04-28 23:09:15 +0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2016-05-16 20:56:32 +0300 |
commit | c5526a2d9a946d99d7b4a72fc488fe6e0a9ad60b (patch) | |
tree | 3c0487cb249010cff4d95d1041c46ab81b8c87f3 /spec/features/signup_spec.rb | |
parent | 71ca2de7aabf3191c4f486ca15a78a5b7f6abd94 (diff) |
Change skip_user_confirmation_email to send_user_confirmation_email
Diffstat (limited to 'spec/features/signup_spec.rb')
-rw-r--r-- | spec/features/signup_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/features/signup_spec.rb b/spec/features/signup_spec.rb index 58aabd913eb..c7840f26d8f 100644 --- a/spec/features/signup_spec.rb +++ b/spec/features/signup_spec.rb @@ -2,6 +2,8 @@ require 'spec_helper' feature 'Signup', feature: true do describe 'signup with no errors' do + before { allow_any_instance_of(ApplicationSetting).to receive(:send_user_confirmation_email).and_return(true) } + it 'creates the user account and sends a confirmation email' do user = build(:user) |