diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-07-12 23:15:08 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-07-12 23:15:08 +0800 |
commit | e383254070baf8a4701e3a10b7cc699f03cefff4 (patch) | |
tree | 5537a7c8f87f9f8277ad150ebc04814fc85b5e57 /spec/spec_helper.rb | |
parent | a96e9aa0d3f703e61a415d2b0532f3a96d90ba51 (diff) | |
download | gitlab-ce-e383254070baf8a4701e3a10b7cc699f03cefff4.tar.gz |
Add all the tests and fix stuffs along the way:
It turns out they are different:
builds.success.latest.first
and
builds.latest.success.first
If we put success first, that latest would also filter via success,
and which is what we want here.
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 606da1b7605..62097de2768 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -28,9 +28,9 @@ RSpec.configure do |config| config.verbose_retry = true config.display_try_failure_messages = true - config.include Devise::TestHelpers, type: :controller - config.include LoginHelpers, type: :feature - config.include LoginHelpers, type: :request + config.include Devise::TestHelpers, type: :controller + config.include Warden::Test::Helpers, type: :request + config.include LoginHelpers, type: :feature config.include StubConfiguration config.include EmailHelpers config.include RelativeUrl, type: feature |