Commit graph

10 commits

Author SHA1 Message Date
Rémy Coutable
1c28b624d6 Merge branch 'jprovazn-rails5-boards' into 'master'
[Rails5] Fix conversion of integer into string in board spec

Closes #47653

See merge request gitlab-org/gitlab-ce!19616
2018-06-11 15:55:29 +00:00
Jan Provaznik
7fcfe7ccab Fix conversion of integer into string in board spec
In rails 5 controller specs, integers are converted to strings unless
conte-type is set with `as: :json`:
https://github.com/rails/rails/issues/26069
2018-06-09 22:58:28 +02:00
Robert Speicher
6d165c740c Make all uses of fixture_file_upload use relative paths 2018-06-07 09:54:41 -05:00
Rémy Coutable
3486286702
Reduce CE/EE diff in spec/controllers/boards/issues_controller_spec.rb
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-05-24 19:29:28 +02:00
Bob Van Landuyt
148816cd67 Port read_cross_project ability from EE 2018-02-22 17:11:36 +01:00
blackst0ne
27c95364b5 Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
Jacopo
2f40dac352 Refactor have_http_status into have_gitlab_http_status in the specs 2017-10-20 10:13:18 +02:00
micael.bergeron
b376e5c80e fix another N+1 query for label priorities
added a QueryRecorder for IssuesController#index.json
2017-09-12 15:49:01 -04:00
Felipe Artur
02fed9a905 Backport specs 2017-08-31 15:18:35 -03:00
Felipe Artur
8077b728bc Continue BE backport 2017-08-31 14:48:57 -03:00