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