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
Thong Kuah
73e848850c
Add frozen_string_literal to spec/features
...
Using the sed script from
https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-07-26 13:23:30 +12:00
Oswaldo Ferreira
44e1915d4f
Persist tmp snippet uploads
...
It persist temporary personal snippets under
user/:id namespaces temporarily while creating
a upload record to track it. If an user gets removed
while it's still a tmp upload, it also gets removed.
If the tmp upload is sent, the upload gets moved to
personal_snippets/:id as before. The upload record
also gets updated to the new model type as well.
2019-06-17 11:25:40 -03:00
Douwe Maan
63792707f9
Remove now-unnecessary md-preview class
2019-03-26 14:35:43 +01:00
Winnie Hellmann
3db2f32759
Enable Capybara/FeatureMethods cop
2018-07-05 06:32:05 +00:00
Mike Greiling
b5d5da7b6f
add InspectRequests helper automatically to :js tests
2017-11-02 10:27:15 -05:00
Mike Greiling
6c5e20c15a
update all status_code calls to use new inspect_requests helper
2017-10-26 18:48:29 +02:00
Jose Ivan Vargas
5072ecc67b
Replaced trigger click calls for click, also fixed ace_editor-input test
2017-09-27 13:13:07 -05:00
Stan Hu
541a082c9f
Rename find('.ace_editor') -> find('.ace_text-input') to make Chrome happy
2017-08-16 02:20:39 -07:00
Bob Van Landuyt
180de2d201
Make sure uploads for personal snippets are correctly rendered
2017-08-11 18:15:02 +02: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
Sean McGivern
88df076fae
Merge branch '33359-pers-snippet-files-location' into 'security-9-3'
...
Use uploads/system directory for personal snippets
See merge request !2123
2017-07-19 22:28:27 -05:00
Alexander Randa
9651521ea7
Replace 'snippets/snippets.feature' spinach with rspec
2017-07-05 15:29:01 +03:00