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
Dmitriy Zaporozhets
29b6d465a7
Merge branch 'rs-dev-issue-2355' into 'master'
...
MergeRequest#show performance improvements
This is a first pass on improving the performance of the `MergeRequests#show` page. Notable changes:
- The "Commits" tab is loaded lazily, so the initial page load should be much faster for MRs with many commits.
- Relative timestamps via `timeago` are only initialized once per load instead of `O(n^2)`. This greatly improves frontend rendering times for a large number of commits.
- Refactored `User.find_for_commit` to use a single ARel-generated SQL query instead of the old method which resulted in one query, and could result in up to three.
See merge request !838
2015-06-22 09:48:49 +00:00
Robert Speicher
e17020b907
Add MergeRequestTabs specs
2015-06-21 22:57:32 -04:00
Robert Speicher
e59aad6e83
Refactor LineHighlighter
2015-06-19 04:31:24 -04:00
Robert Speicher
32366d1811
Rename BlobView to LineHighlighter
2015-06-19 04:31:24 -04:00
Robert Speicher
b3f9be0639
Refactor and spec BlobView JS
2015-06-19 04:31:23 -04:00
Robert Speicher
39d5a4878f
Add JS specs for Array extensions
2015-06-02 20:32:07 -04:00
Robert Speicher
4560954404
Move jQuery enable/disable extensions to extensions/jquery
...
Removes redundant enableButton/disableButton extensions, and adds specs
for the jQuery extensions.
2015-06-02 20:32:07 -04:00
Robert Speicher
f76a3f3db7
Add ZenMode javascript specs
2015-06-02 20:32:07 -04:00
Robert Speicher
d2256c18f4
Stub ajax in JS specs
2015-05-28 18:22:32 -04:00
Robert Speicher
c9788bd9d8
Remove jasmine-fixture, use teaspoon fixtures
2015-05-28 18:22:32 -04:00
Robert Speicher
d850a57ff4
teaspoon install
2015-05-28 18:22:32 -04:00
Robert Speicher
05aa71ccd9
Remove jasmine-rails; add teaspoon
2015-05-28 18:22:32 -04:00
Douwe Maan
a9e2686139
Update specs.
2015-05-25 16:31:20 +02:00
Robert Speicher
33836ae02c
Remove unneeded jasmine setup
2015-05-06 15:29:46 -04:00
Robert Speicher
51c3393974
Task List feature and JS specs
2015-05-06 13:16:37 -04:00
Robert Speicher
4d1878253e
Typo: Issueable -> Issuable
2015-04-18 15:20:15 -04:00
Robert Speicher
8e6fa2555e
Add JS specs for replyWithSelectedText
2015-04-18 15:17:26 -04:00
Robert Speicher
ded7053fbf
Simplify jasmine.yml since we're using jasmine-rails gem
...
A lot of these values are handled by the asset pipeline.
2015-04-18 15:17:25 -04:00
Robert Speicher
662bdfbeb1
Make StatGraph JS explicitly require its dependencies
...
This allows us to test them in a bit more isolation.
2015-04-18 15:17:25 -04:00
Robert Speicher
d5c7b62b8e
rails g jasmine_rails:install
2015-04-18 15:17:25 -04:00
Robert Speicher
e15af6943a
Re-run rails g jasmine:install
2015-04-18 15:17:24 -04:00
Ciro Santilli
a7e0ca9e83
Add trailing newline to all text files.
...
Present in the large majority of files of each respective type.
2014-06-21 11:20:22 +02:00
Dmitriy Zaporozhets
bbd8525d75
Update jasmine gem to work with rails4
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-12-10 16:03:24 +02:00
Dmitriy Zaporozhets
e48c6fab60
Make rake gitlab:test works
2013-09-29 23:36:44 +03:00
Dmitriy Zaporozhets
9da1928faa
Use phantomjs for jasmine tests. Fixed broken one
2013-09-29 17:43:59 +03:00
Karlo Soriano
71d67e6557
Contributors graphs feature for GitLab
...
Created tests and refactored some code along the way
Added stat graph util spec, refactored code
finsihed up tests and refactors
finsihed up tests and refactors
2013-06-05 16:51:48 +08:00