From cb240cb3f76760a778d74cba40ed99e4e621d689 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Tue, 8 Nov 2016 10:40:48 +0100 Subject: [PATCH] Remove flash expectation that no longer happens --- spec/requests/openid_connect_spec.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/spec/requests/openid_connect_spec.rb b/spec/requests/openid_connect_spec.rb index 75805675d3..08cb6ef5ec 100644 --- a/spec/requests/openid_connect_spec.rb +++ b/spec/requests/openid_connect_spec.rb @@ -105,10 +105,6 @@ describe 'OpenID Connect' do expect(response.status).to be 302 expect(response.location).to match /\/login$/ - ## - # it should have created an account waiting to be activated - expect(flash[:notice]).to match /account.*created/ - user = User.find_by_mail(user_info[:email]) expect(user).not_to be nil