GitLab Bot
bdca097916
Add latest changes from gitlab-org/gitlab@master
2020-08-11 03:11:00 +00:00
GitLab Bot
8b0ef13236
Add latest changes from gitlab-org/gitlab@master
2020-06-03 18:08:28 +00:00
GitLab Bot
abae8f34f3
Add latest changes from gitlab-org/gitlab@master
2020-03-31 21:08:05 +00:00
GitLab Bot
db24ab2b72
Add latest changes from gitlab-org/gitlab@master
2020-01-28 12:08:44 +00:00
GitLab Bot
9d54184f30
Add latest changes from gitlab-org/gitlab@master
2020-01-02 21:07:38 +00:00
Alexandru Croitor
306fed6afd
Redirect user to root path after unsubscribing from private resource
...
If user unsubsrcribes from a resource that they no longer have
access to they should not be revealed the resource path, but be
redirected to app root instead.
https://gitlab.com/gitlab-org/gitlab-ce/issues/64938
2019-09-30 14:22:05 +02:00
Ash McKenzie
19ff9d9899
Replace rails_helper.rb with spec_helper.rb
...
rails_helper.rb's only logic was to require
spec_helper.rb.
2019-08-30 12:26:18 +10:00
Alexandru Croitor
1be66c4a09
Hide issue title on unsubscribe for anonymous users
2019-05-16 20:17:23 +03:00
gfyoung
93a44e135b
Add some frozen string to spec/**/*.rb
...
Adds frozen string to the following:
* spec/bin/**/*.rb
* spec/config/**/*.rb
* spec/controllers/**/*.rb
xref https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-04-15 10:17:05 +00:00
blackst0ne
b44a2c801a
Update specs to rails5 format
...
Updates specs to use new rails5 format.
The old format:
`get :show, { some: params }, { some: headers }`
The new format:
`get :show, params: { some: params }, headers: { some: headers }`
2018-12-19 10:04:31 +11:00
Jacopo
2f40dac352
Refactor have_http_status
into have_gitlab_http_status
in the specs
2017-10-20 10:13:18 +02:00
Robert Speicher
72a7b30c9f
Change all :empty_project
to :project
2017-08-02 17:47:31 -04:00
Keifer Furzland
7e113b6824
Remove superfluous type defs in specs
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:52 +02:00
Dmitriy Zaporozhets
eafb03cfd5
Remove unnecessary set_flash.now from controller specs
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2017-07-24 15:21:16 +03:00
Douwe Maan
fe13f11041
Create and use project path helpers that only need a project, no namespace
2017-07-05 11:11:59 -05:00
Grzegorz Bizon
0430b76441
Enable Style/DotPosition Rubocop 👮
2017-06-21 13:48:12 +00:00
Robert Speicher
a6ec5121f0
Correct RSpec/SingleLineHook cop offenses
2017-06-14 13:18:56 -05:00
Douglas Barbosa Alexandre
0c052f116c
Remove default value for project
argument on subscribable concern
2016-11-17 15:10:13 -02:00
Douglas Barbosa Alexandre
091efb3152
Fix specs to pass a project when creating subscriptions
2016-11-17 15:10:13 -02:00
Rémy Coutable
c61a54f7fe
Fix initial implementation to actually render the unsubscribe page
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-09-20 09:52:57 +02:00
Maximiliano Perez Coto
b335730817
Fix "Unsubscribe" link in notification emails that is triggered by anti-virus
...
* Created a force=true param that will continue with the previous
behaviour of the unsubscribe method
* Created a filter for not-logged users so they see a unsubsribe
confirmation page
* Added the List-Unsubscribe header on emails so the email client can
display it on top
2016-09-20 09:52:57 +02:00
Robert Speicher
dfca5bfa47
Move a few controller specs to their correct locations
2016-02-18 21:50:49 -05:00