BigW Consortium Gitlab
This is a proof of concept for gitlab-org/gitlab-ce#30196. The actual login procedure is well-tested by `spec/features/login_spec.rb`, and we don't gain anything by also thoroughly testing it here, in our second-slowest feature spec. In fact, it only slows us down! So instead we use `sign_in` from the `Devise::Test::IntegrationHelpers` module, which just sets the current user at the Warden level. This drastically reduces the "setup" phase of every test in this file. A non-scientific test run saw this drop from 633 to 231 seconds.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
filtered_search | Loading commit data... | |
award_emoji_spec.rb | Loading commit data... | |
award_spec.rb | Loading commit data... | |
bulk_assignment_labels_spec.rb | Loading commit data... | |
create_issue_for_discussions_in_merge_request_spec.rb | Loading commit data... | |
create_issue_for_single_discussion_in_merge_request.rb | Loading commit data... | |
form_spec.rb | Loading commit data... | |
gfm_autocomplete_spec.rb | Loading commit data... | |
group_label_sidebar_spec.rb | Loading commit data... | |
issue_sidebar_spec.rb | Loading commit data... | |
markdown_toolbar_spec.rb | Loading commit data... | |
move_spec.rb | Loading commit data... | |
new_branch_button_spec.rb | Loading commit data... | |
note_polling_spec.rb | Loading commit data... | |
spam_issues_spec.rb | Loading commit data... | |
todo_spec.rb | Loading commit data... | |
update_issues_spec.rb | Loading commit data... | |
user_uses_slash_commands_spec.rb | Loading commit data... |