Commit graph

21 commits

Author SHA1 Message Date
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
Douwe Maan
fe13f11041 Create and use project path helpers that only need a project, no namespace 2017-07-05 11:11:59 -05:00
Robert Speicher
a6ec5121f0 Correct RSpec/SingleLineHook cop offenses 2017-06-14 13:18:56 -05:00
Oswaldo Ferreira
2338785ec9 Use wait_for_requests to wait all JS request 2017-05-22 20:39:49 -03:00
Regis
93a20ea872 fix tasks list spec in rspec 2017-05-03 14:35:54 -06:00
Regis
e2bc67c91f fix task_list spec - not ocmpletely but progress 2017-05-01 20:59:52 -06:00
Regis
cfc03dab24 fix rubocop offenses 2017-05-01 20:56:04 -06:00
Regis
fee0c93244 fix merge conflict with issue_show haml 2017-04-25 12:52:31 -06:00
Regis
b4e2f9f1a7 test async nature of issue show 2017-04-25 10:31:15 -06:00
Regis
3417e97c18 fix a few tests (not all) - update title in tab with new issue 2017-04-24 15:03:58 -06:00
Robert Speicher
aef345024f Use :empty_project where possible in top-level feature specs 2017-04-20 17:30:55 -04:00
Jarka Kadlecova
f30ad3ff1f fix nested tasks in ordered list 2017-01-24 15:08:16 +01:00
Clement Ho
2b33b24a3a Shorten task status phrase 2016-08-29 10:46:36 -05:00
Grzegorz Bizon
e558edd1ce Update specs to carry out changes in note factory 2016-05-29 15:03:00 -04:00
Douwe Maan
79c90821ac Rename .issuable-details to .detail-page (and -header and -description) 2015-12-16 16:13:22 +01:00
Robert Speicher
c8e53d4467 Revert "Merge pull request #9820 from huacnlee/avoid-render-form-in-notes-list"
This reverts commit 63144cd062, reversing
changes made to 8ab5df9d87.
2015-11-16 13:08:08 -05:00
Jason Lee
1974087114 Avoid render edit_form in each notes.
Use RJS to render edit note feature.

Before:

```
Rendered projects/notes/_note.html.haml (27.9ms)
Rendered projects/_zen.html.haml (0.3ms)
Rendered projects/notes/_hints.html.haml (0.7ms)
Rendered projects/_md_preview.html.haml (3.9ms)
Rendered projects/notes/_edit_form.html.haml (6.9ms)
Rendered projects/notes/_note.html.haml (17.7ms)
Rendered projects/_zen.html.haml (0.3ms)
Rendered projects/notes/_hints.html.haml (0.6ms)
Rendered projects/_md_preview.html.haml (3.4ms)
Rendered projects/notes/_edit_form.html.haml (7.0ms)
```

After:

```
Rendered projects/notes/_note.html.haml (13.8ms)
Rendered projects/notes/_note.html.haml (7.1ms)
Rendered projects/notes/_note.html.haml (9.5ms)
Rendered projects/notes/_note.html.haml (8.5ms)
```

This change reduce at least 6ms * N ('N' - number of notes).
2015-11-12 13:16:35 +08:00
Dmitriy Zaporozhets
b9fa82daee
Update tests and use js-issuable class for context form
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-06-26 15:05:30 +02:00
Robert Speicher
1108915f75 Change wording for task list summaries 2015-05-06 17:27:10 -04:00
Robert Speicher
51c3393974 Task List feature and JS specs 2015-05-06 13:16:37 -04:00