Commit Graph

65 Commits

Author SHA1 Message Date
Piotr Sarnacki
373069a76e Fix build serializer for v2 responses
We should create a branch object for a v2 response if branch_is_default
property is set on the commit object, not necessarily if it's true.
2016-04-07 08:48:03 +02:00
Piotr Sarnacki
59747f8424 Handle promises properly
With API V3 we have some relationships (like lastBuild on branch)
specified as asynchronuous, so sometimes we may deal with promises. This
commit fixes the situation by handling both plain records and promises.
2016-04-07 08:48:03 +02:00
Piotr Sarnacki
cbd0c46e37 Ensure that permission functions work without a user 2016-03-22 12:43:41 +01:00
Lisa P
71c55779a1 import util, coment out dashboard acceptance 2016-03-22 12:41:52 +01:00
Lisa P
fa62539a40 add more tests 2016-03-22 12:41:34 +01:00
Lisa P
26ca2875ae make it a util 2016-03-22 12:41:28 +01:00
Lisa P
2220334265 put permissions into a mixin 2016-03-22 12:37:05 +01:00
Piotr Sarnacki
ab0a2af471 Fix various small issues with test suite 2016-03-07 13:28:51 +01:00
Curtis Ekstrom
9d429966d0 Remove append() test deprecations
Replacing with `render` to appease the test suite gods.
2016-02-04 00:06:47 +01:00
Lisa P
1c4f748b2e fix tests, refactor repo-actions component 2016-02-01 13:09:16 +01:00
Curtis Ekstrom
58955469c6 Remove component test deprecations by specifying test type 2016-01-31 12:04:44 +01:00
Lisa P
d82ff49359 change component implementation 2016-01-26 14:50:58 +01:00
Lisa P
05b85eb37f make a user-avatar component
delete some, add some, fix some tests
2016-01-21 12:08:28 +01:00
Piotr Sarnacki
d8160614bf Fix tests 2016-01-04 13:19:48 +01:00
Piotr Sarnacki
e60b0a0224 Fix jshint errors after conversion to JS 2016-01-04 13:15:15 +01:00
Piotr Sarnacki
fafaf65043 Convert project to JavaScript 2016-01-04 13:15:14 +01:00
Jonas Weber
ab54733723 Show author name and author avatar on builds list 2016-01-04 12:18:33 +01:00
Piotr Sarnacki
4e720519fe Revert "Merge branch 'thriqon-bug-author-committer'"
This reverts commit ac576077ab, reversing
changes made to f9263fc8f3.
2016-01-04 12:14:44 +01:00
Piotr Sarnacki
e5763ee2d6 Revert "Fix tests"
This reverts commit ca3a24e686.
2016-01-04 12:14:40 +01:00
Piotr Sarnacki
ca3a24e686 Fix tests 2016-01-04 12:04:17 +01:00
Jonas Weber
83bb882475 Show author name and author avatar on builds list 2016-01-04 11:53:20 +01:00
Piotr Sarnacki
6ff69bf94a Remove unneeded test 2015-12-08 10:18:02 +01:00
Lisa P
129674aa25 fix branch-row-unit test 2015-12-04 11:44:23 +01:00
Lisa P
e4658e8023 fix tests and stuff 2015-12-02 17:34:46 +01:00
Lisa P
42b75fab6a add a unit test for branch-row 2015-10-02 14:36:28 +02:00
Lisa P
eb502c9094 fix some tests 2015-09-30 18:18:51 +02:00
Lisa P
dda2051d57 commit current status 2015-09-07 15:53:14 +02:00
Piotr Sarnacki
7b655eee61 [specs] Fix caches-item-test by using the correct helper name 2015-09-02 13:17:30 +02:00
Piotr Sarnacki
d6cbdba401 [specs] Fix repo owner tile test 2015-09-02 13:17:30 +02:00
Lisa Passing
cc0bed2974 fix failing tests 2015-07-16 12:28:14 +02:00
Lisa Passing
f6fec80b5d add env var form tests 2015-07-15 16:50:18 +02:00
Lisa Passing
cb9c26d3a5 work on envvars 2015-07-14 15:54:19 +02:00
Lisa Passing
9bee539474 Merge branch 'master' into settings-glimmer 2015-07-14 11:24:55 +02:00
Lisa Passing
1d068fdfde make no builds a component and display it on all tabs 2015-07-08 13:15:06 +02:00
Lisa Passing
b575d78250 fix tests 2015-07-07 15:39:02 +02:00
Lisa Passing
1072577ce0 add compontents for settings 2015-07-01 17:09:05 +02:00
Lisa Passing
c83afe458a fix tests 2015-06-23 12:36:46 +02:00
Lisa Passing
3d84a52dbc add tests for builds-item 2015-06-22 18:08:44 +02:00
Piotr Sarnacki
f8470cd231 Add some more tests for requests-item component, fix builds-item tests 2015-06-02 11:44:14 +02:00
Piotr Sarnacki
81264689f8 Change requests items to use components 2015-06-02 11:16:04 +02:00
Piotr Sarnacki
8b333c09fa Extract builds-item as a component to not use itemController 2015-06-02 11:16:04 +02:00
Lisa Passing
064f414da7 create loading-indicator component and replace all instances of the non-component 2015-05-28 13:52:44 +02:00
Piotr Sarnacki
93373e89ee Enable polling for tests 2015-05-12 10:02:47 +02:00
Piotr Sarnacki
5c24778394 Properly deregister polling hook when there's no models to poll 2015-05-11 14:56:36 +02:00
Piotr Sarnacki
e2db99c7fd Make polling tests more reliable with longer timeouts
I was using a very short polling interval of 10ms for testing polling
mixin. This lets a little room for any timing problems, which may happen
with setTimeout or setInterval. Increasing it to 20ms hopefully can make
it more reliable.
2015-05-07 13:49:22 +02:00
Piotr Sarnacki
a85f0ebc9f Add tests for polling service and mixin 2015-05-07 13:49:22 +02:00
Piotr Sarnacki
f8390b8f82 Fix tests 2015-05-07 13:49:22 +02:00
Piotr Sarnacki
a4a75912b0 Implement ajax polling for things that are visible on the screen
We sometimes miss pusher updates, which started to be more common
lately. Until we investigate what's going on, this should be a good
workaround for keeping UI in sync with the DB.
2015-05-07 13:49:21 +02:00
Lisa Passing
0964c8753e remove assertion because I have removed the respective element 2015-05-05 13:03:09 +02:00
Lisa Passing
e5c4a45173 add component tests and things 2015-05-05 13:03:07 +02:00