Commit graph

11 commits

Author SHA1 Message Date
Oswaldo Ferreira
3956bb552f Use select instead reject 2018-02-22 13:59:15 -03:00
Oswaldo Ferreira
45c77dacbc Move can_current_user_push_to_branch to Presenter 2018-02-22 13:59:15 -03:00
Eric Eastwood
dcac35b484 Update enabled Kubernetes cluster button to "Kubernetes configured"
See
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/16900#note_60175507
2018-02-22 10:01:08 -06:00
Eric Eastwood
65da44b25e Fix enabled filtering on stat anchors 2018-02-21 10:57:41 -06:00
Oswaldo Ferreira
082a32350a Use method call instead hash accesses 2018-02-21 11:58:42 -03:00
Oswaldo Ferreira
70156f3b8e Memoize method which is called multiple times on presenter 2018-02-20 19:04:10 -03:00
Oswaldo Ferreira
1521fd9f5c Add unit tests to presenter methods 2018-02-20 18:59:19 -03:00
Oswaldo Ferreira
d714073d62 Use OpenStruct instead Hash for statistics buttons 2018-02-20 16:15:01 -03:00
Oswaldo Ferreira
083003bf1e Improve methods naming 2018-02-20 15:51:52 -03:00
Oswaldo Ferreira
c445ef539e Move default_project_view tests to presenter 2018-02-20 15:25:46 -03:00
Oswaldo Ferreira
e0e3f1c275 Move button list logic to project presenter 2018-02-20 13:03:06 -03:00