gitlab-org--gitlab-foss/spec/features/issues/filtered_search
Robert Speicher 3d61609cb4 Use `sign_in` instead of `login_as` when we're not testing login flow
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.
2017-04-04 13:01:39 -04:00
..
dropdown_assignee_spec.rb
dropdown_author_spec.rb
dropdown_hint_spec.rb
dropdown_label_spec.rb
dropdown_milestone_spec.rb
filter_issues_spec.rb Use `sign_in` instead of `login_as` when we're not testing login flow 2017-04-04 13:01:39 -04:00
search_bar_spec.rb
visual_tokens_spec.rb