From 5647fb14b6d638bb168014e997ecd2d29175249f Mon Sep 17 00:00:00 2001 From: Connor Shea Date: Thu, 19 May 2016 17:36:50 -0500 Subject: Fix a broken spec Temporary fix until Devise 4 fixes this grammar issue: https://github.com/plataformatec/devise/issues/4095 --- spec/controllers/sessions_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec') diff --git a/spec/controllers/sessions_controller_spec.rb b/spec/controllers/sessions_controller_spec.rb index ab57c52c7cd..2b2dbeec41d 100644 --- a/spec/controllers/sessions_controller_spec.rb +++ b/spec/controllers/sessions_controller_spec.rb @@ -12,7 +12,7 @@ describe SessionsController do post(:create, user: { login: 'invalid', password: 'invalid' }) expect(response) - .to set_flash.now[:alert].to /Invalid login or password/ + .to set_flash.now[:alert].to /Invalid Login or password/ end end -- cgit v1.2.1