summaryrefslogtreecommitdiff
path: root/spec/support/cycle_analytics_helpers
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@13-6-stable-eev13.6.0-rc42GitLab Bot2020-11-191-3/+3
|
* Add latest changes from gitlab-org/gitlab@13-0-stable-eeGitLab Bot2020-05-201-0/+4
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-151-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-081-2/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-231-1/+1
|
* Add frozen_string_literal to spec/supportThong Kuah2019-07-251-0/+2
| | | | | Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
* Add class for group level analyticsMaƂgorzata Ksionek2019-07-151-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add specs for group level Update entities Update base classes Add groups-centric changes Update plan and review stage Add summary classes Add summary spec Update specs files Add to specs test cases for group Add changelog entry Add group serializer Fix typo Fix typo Add fetching namespace in sql query Update specs Add rubocop fix Add rubocop fix Modify method to be in sync with code review Add counting deploys from subgroup To group summary stage Add subgroups handling In group stage summary Add additional spec Add additional specs Add more precise inheritance Add attr reader to group level Fix rubocop offence Fix problems with specs Add cr remarks Renaming median method and a lot of calls in specs Move spec setup Rename method in specs Add code review remarks regarding module Add proper module name
* Reduce the number of loops that Cycle Analytics specs users-why-five-times-surely-twice-is-enoughRobert Speicher2017-02-011-28/+22
| | | | See https://gitlab.com/gitlab-org/gitlab-ce/issues/27402
* Use `:empty_project` where possible in model specsrs-empty_project-modelsRobert Speicher2017-01-261-1/+1
|
* refactor fetcher and fixed specsJames Lopez2017-01-171-12/+6
|
* fix tricky test failure to do with private methodJames Lopez2017-01-171-6/+6
|
* more refactoring and fixing old specsJames Lopez2017-01-171-1/+6
|
* Implement a second round of review comments from @DouweM.Timothy Andrew2016-09-211-4/+0
| | | | | | | | | | | | | | - Don't use `TableReferences` - using `.arel_table` is shorter! - Move some database-related code to `Gitlab::Database` - Remove the `MergeRequest#issues_closed` and `Issue#closed_by_merge_requests` associations. They were either shadowing or were too similar to existing methods. They are not being used anywhere, so it's better to remove them to reduce confusion. - Use Rails 3-style validations - Index for `MergeRequest::Metrics#first_deployed_to_production_at` - Only include `CycleAnalyticsHelpers::TestGeneration` for specs that need it. - Other minor refactorings.
* Fix all cycle analytics specs.Timothy Andrew2016-09-201-1/+12
| | | | | A number of failures were introduced due to performance improvements (like pre-calculating metrics).
* Fix rubocop spec.Timothy Andrew2016-09-071-2/+2
|
* Consolidate all cycle analytics helper methods.Timothy Andrew2016-09-071-0/+154
1. Move the test generation to `CycleAnalyticsHelpers::TestGeneration` 2. Move all helper methods (previously placed in each individual spec file) to `CycleAnalyticsHelpers`