Commit graph

15 commits

Author SHA1 Message Date
Winnie Hellmann
3db2f32759 Enable Capybara/FeatureMethods cop 2018-07-05 06:32:05 +00:00
blackst0ne
27c95364b5 Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
Jacopo
0ce6785851 Replaces tag: true into :tag in the specs
Replaces all the explicit include metadata syntax in the specs (tag:
true) into the implicit one (:tag).
Added a cop to prevent future errors and handle autocorrection.
2017-10-07 13:57:54 +02:00
Robert Speicher
72a7b30c9f Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
Robert Speicher
c26f4a07e7 Use empty_project where possible in spec/features/dashboard 2017-07-27 11:14:16 -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
Robert Speicher
e939bf7be1 Change gitlab_sign_in to sign_in where possible 2017-06-29 12:18:23 -04:00
Robert Speicher
45fb1f9542 Change login_as uses to gitlab_sign_in 2017-06-19 18:59:01 -05:00
Bob Van Landuyt
80db01491f Take timezone into account when comparing dates in the UI 2017-06-15 16:54:40 +02:00
Oswaldo Ferreira
2338785ec9 Use wait_for_requests to wait all JS request 2017-05-22 20:39:49 -03:00
Jacopo
ff76adb547 Unnecessary "include WaitForAjax" and "include ApiHelpers"
Removed all the unnecessary include of `WaitForAjax` and `ApiHelpers` in the specs.
Removed unnecessary usage of `api:true`
2017-04-21 22:32:02 +02:00
Adam Niedzielski
d69b7bec95 Remove time zone information from assertion in timeago tooltips spec
This allows the test to pass when your local time zone is different
than UTC.
"Date Format" JavaScript library uses a custom, non-standard format
when displaying time zone part of the datetime. There is no point in
trying to replicate this behavior in Ruby.
2016-12-30 11:32:44 +01:00
Mike Greiling
7f3fc26ec9 fix failing tests 2016-12-10 00:57:23 -06:00
Alfredo Sumaran
541e663c12 Change date format to be non zero padded in order to fix failing test 2016-06-09 14:38:24 -05:00
Alfredo Sumaran
340aa444b7 Add tests for dates on tooltips 2016-06-09 14:38:24 -05:00