summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorConnor Shea <connor.james.shea@gmail.com>2016-05-19 17:36:50 -0500
committerConnor Shea <connor.james.shea@gmail.com>2016-05-30 13:51:21 -0600
commit5647fb14b6d638bb168014e997ecd2d29175249f (patch)
treee68333b86373022810977963f09f75729d998d2c /spec
parentd287315dbf1a1493e3f2c2511e559204cc914ff8 (diff)
downloadgitlab-ce-5647fb14b6d638bb168014e997ecd2d29175249f.tar.gz
Fix a broken spec
Temporary fix until Devise 4 fixes this grammar issue: https://github.com/plataformatec/devise/issues/4095
Diffstat (limited to 'spec')
-rw-r--r--spec/controllers/sessions_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
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