summaryrefslogtreecommitdiff
path: root/spec/support
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '32844-issuables-performance' into 'master'Sean McGivern2017-08-071-1/+3
|\ | | | | | | | | Issuables: Move some code from create services to Sidekiq workers See merge request !13326
| * Move some after_create parts to worker to improve performance32844-issuables-performanceJarka Kadlecova2017-08-071-1/+3
| |
* | Merge branch 'group-milestone-references-system-notes' into 'master'Robert Speicher2017-08-073-5/+9
|\ \ | | | | | | | | | | | | | | | | | | Support group milestone references Closes #34778 See merge request !13289
| * | Create system notes for group milestone changesSean McGivern2017-08-071-3/+3
| | |
| * | Support references to group milestonesSean McGivern2017-08-072-2/+6
| | | | | | | | | | | | | | | Group milestones can only be referred to by name, not IID. They also do not support cross-project references.
* | | Merge branch '36052-reset-only-migration-models' into 'master'Sean McGivern2017-08-071-0/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Reset only migration models Closes #36052 See merge request !13336
| * | | Reset only migration models36052-reset-only-migration-modelsLin Jen-Shin2017-08-071-0/+10
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So that we could make sure migration tests could run even if geo is not setup in EE. This is because we have a model like this: ``` ruby class Geo::BaseRegistry < ActiveRecord::Base def self.connection raise 'Geo secondary database is not configured' unless Gitlab::Geo.geo_database_configured? super end end ```
* | | Merge branch 'bvl-nfs-circuitbreaker' into 'master'Sean McGivern2017-08-071-0/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Circuitbreaker for storage paths Closes #32207, #33117, gitlab-com/infrastructure#1946, and gitlab-com/infrastructure#1775 See merge request !11449
| * \ \ Merge branch 'master' into 'bvl-nfs-circuitbreaker'Douwe Maan2017-08-073-9/+12
| |\ \ \ | | |/ / | | | | | | | | | | | | # Conflicts: # app/models/repository.rb # spec/models/repository_spec.rb
| * | | Add a Circuitbreaker for storage pathsBob Van Landuyt2017-08-041-0/+12
| | | |
* | | | Add `/assign me` alias support for assigning issuables to oneselfMehdi Lahmam2017-08-071-0/+11
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | Currently, when a user wants to assign an issue/MR to himself, he needs to type his full username or select it from the suggested ones in the dropdown list. This commits suggest a faster solution which is typing `/assign me` Closes #35304.
* | | Merge branch '2902-standalone-ee-dir-ce' into 'master'Rémy Coutable2017-08-041-8/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | CE: Move EE-specific files to a standalone directory Closes gitlab-ee#3097 See merge request !13311
| * | | Backport to CE for:2902-standalone-ee-dir-ceLin Jen-Shin2017-08-041-8/+10
| | | | | | | | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/2483
* | | | Merge branch 'revert-6291bc8c' into 'master'Rémy Coutable2017-08-041-1/+0
|\ \ \ \ | |/ / / |/| | | | | | | | | | | Revert "Merge branch 'rs-warm-capybara-only-in-ci' into 'master'" See merge request !13292
| * | | Revert "Merge branch 'rs-warm-capybara-only-in-ci' into 'master'"revert-6291bc8cRobert Speicher2017-08-031-1/+0
| |/ / | | | | | | This reverts merge request !12761
* | | Merge branch 'rs-issue-35701' into 'master'Rémy Coutable2017-08-041-0/+2
|\ \ \ | |/ / |/| | | | | | | | | | | | | | Ensure DeviseHelpers is loaded before inclusion in LoginHelpers Closes #35701 See merge request !13261
| * | Ensure DeviseHelpers is loaded before inclusion in LoginHelpersrs-issue-35701Robert Speicher2017-08-031-0/+2
| | |
* | | Don't include EmailHelpers manually, pick with rspecuse-rspec-support-helperLin Jen-Shin2017-08-032-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | `:mailer` is needed to pick it easily, while `type: :mailer` is needed for picking it automatically for tests located in spec/mailers/*_spec.rb It's a bit complicated in spec/services/notification_service_spec.rb but we'll leave it alone for now.
* | | Merge branch 'fix-gitaly-install' into 'master'Rémy Coutable2017-08-031-5/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Ensure we run installation Rake tasks in a clean env in TestEnv Closes #35859 See merge request !13249
| * | | Don't call load_tasks as this would load the tasks twicefix-gitaly-installRémy Coutable2017-08-021-2/+4
| | | | | | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
| * | | Ensure we run installation Rake tasks in a clean env in TestEnvRémy Coutable2017-08-021-5/+10
| |/ / | | | | | | | | | | | | | | | | | | | | | If we call `system('rake', 'taks_name')`, `ENV['RUBYOPT']` is set to `'-rbundler/setup'` but some tasks (e.g. `gitlab:gitaly:install` need a clean env since they install their own Gem bundle. Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | Remove test gitaly when older than version fileJacob Vosmaer (GitLab)2017-08-031-0/+11
| | |
* | | Change all `:empty_project` to `:project`rs-empty_project-defaultRobert Speicher2017-08-028-9/+9
|/ /
* | Merge branch 'rs-issuables-list-metadata-shared-examples' into 'master'Rémy Coutable2017-08-021-8/+3
|\ \ | | | | | | | | | | | | Make the 'issuables list meta-data' shared example less dangerous See merge request !13236
| * | Make the 'issuables list meta-data' shared example less dangerousrs-issuables-list-metadata-shared-examplesRobert Speicher2017-08-011-8/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This shared example would take an object's database ID and create a number of objects based on it. If for some reason the ID were a high number, like 20, this would create `20 + 21 + 22` objects. Not only was this dangerous from a performance perspective, it was entirely unnecessary, as the behavior it was testing is already well-tested in the unit test for the underlying object. For a controller test, which is what's including this shared example, all we need to do is verify that the assigned object contains the correct `id => object` Hash, which is what we now test for.
* | | Merge branch 'rs-empty_project-cleanup' into 'master'Rémy Coutable2017-08-023-3/+17
|\ \ \ | | | | | | | | | | | | | | | | Ensure all project factories use `:repository` trait or `:empty_project` See merge request !13238
| * | | Ensure all project factories use `:repository` trait or `:empty_project`rs-empty_project-cleanupRobert Speicher2017-08-013-3/+17
| |/ /
* | | Merge branch 'pawel/add_more_variables_to_additional_metrics-35267' into ↵Douwe Maan2017-08-021-0/+51
|\ \ \ | |/ / |/| | | | | | | | | | | | | | 'master' Add kube_namespace and standardize common variables for additional metrics queries See merge request !13169
| * | Give metric query context rspec examples correctly sounding names. + missing ↵Pawel Chojnacki2017-08-011-2/+2
| | | | | | | | | | | | whitespace
| * | Add changelog: add support for kube_namespace in Metrics queriesPawel Chojnacki2017-07-311-0/+1
| | | | | | | | | | | | + small whitespace fix to better separate tests
| * | Tests for query context variablesPawel Chojnacki2017-07-311-12/+33
| | |
| * | Context handling and tests cleanup + simple test kube_namespace context testPawel Chojnacki2017-07-311-0/+29
| |/
* | Merge branch '28283-legacy-storage-format' into 'master'Sean McGivern2017-08-012-3/+3
|\ \ | | | | | | | | | | | | [CE] Added Legacy Storage format See merge request !13149
| * | Rename many path_with_namespace -> full_pathGabriel Mazetto2017-08-012-3/+3
| |/
* | CI fixes for gitaly-rubyJacob Vosmaer2017-08-011-4/+7
|/
* Ensure Gitlab::Application.routes.default_url_options are set correctly in ↵Rémy Coutable2017-07-281-1/+8
| | | | | | Capybara + :js specs Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch 'gitaly-ruby-bundler' into 'master'Sean McGivern2017-07-281-1/+1
|\ | | | | | | | | Support the fact that Gitaly uses bundler See merge request !13135
| * Support the fact that Gitaly uses bundlerJacob Vosmaer2017-07-271-1/+1
| |
* | Merge branch 'feature/gpg-signed-commits' into 'master'Dmitriy Zaporozhets2017-07-272-0/+203
|\ \ | | | | | | | | | | | | | | | | | | GPG signed commits Closes #20268 See merge request !9546
| * | store gpg user name and email on the signatureAlexis Reigel2017-07-271-0/+8
| | |
| * | use updated gitlab-test repo for signed commitsAlexis Reigel2017-07-271-0/+1
| | |
| * | add primary keyid attribute to gpg keysAlexis Reigel2017-07-271-4/+4
| | |
| * | test with a gpg key with multiple emailsAlexis Reigel2017-07-271-13/+18
| | |
| * | use example gpg key instead of my ownAlexis Reigel2017-07-271-197/+78
| | |
| * | add second gpg key for specsAlexis Reigel2017-07-271-212/+298
| | |
| * | add / remove gpg keys to / from system keychainAlexis Reigel2017-07-271-1/+1
| | |
| * | commit signature with specAlexis Reigel2017-07-271-0/+222
| | |
* | | Merge branch '34319-remove-useless-type-definitions-from-specs' into 'master'Robert Speicher2017-07-271-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Remove superfluous tags in RSpec examples. Closes #34319 See merge request !12754
| * | | Remove superfluous type defs in specsKeifer Furzland2017-07-271-1/+1
| |/ / | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | Merge branch 'rc/fix-branches-api-endpoint' into 'master'Sean McGivern2017-07-272-4/+11
|\ \ \ | |_|/ |/| | | | | | | | Fix the `/projects/:id/repository/branches endpoint` to handle dots in the branch name when the project full patch contains a `/` See merge request !13115