Commit 5647fb14 authored by Connor Shea's avatar Connor Shea

Fix a broken spec

Temporary fix until Devise 4 fixes this grammar issue:
https://github.com/plataformatec/devise/issues/4095
parent d287315d
...@@ -12,7 +12,7 @@ describe SessionsController do ...@@ -12,7 +12,7 @@ describe SessionsController do
post(:create, user: { login: 'invalid', password: 'invalid' }) post(:create, user: { login: 'invalid', password: 'invalid' })
expect(response) expect(response)
.to set_flash.now[:alert].to /Invalid login or password/ .to set_flash.now[:alert].to /Invalid Login or password/
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment