diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-03 00:10:02 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-03 00:10:02 +0300 |
commit | 36e64e679dfc3e5989445f06aa238962df6ca98d (patch) | |
tree | bba0fd4a09b6d72de68aa167dc9867f11a1acfd3 /spec/tasks | |
parent | a37d7647a5aa97b46d616ab3d30ed693e5e8bdff (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/tasks')
-rw-r--r-- | spec/tasks/gitlab/usage_data_rake_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/tasks/gitlab/usage_data_rake_spec.rb b/spec/tasks/gitlab/usage_data_rake_spec.rb index f05b7876fdb..207a9884090 100644 --- a/spec/tasks/gitlab/usage_data_rake_spec.rb +++ b/spec/tasks/gitlab/usage_data_rake_spec.rb @@ -31,6 +31,12 @@ RSpec.describe 'gitlab:usage data take tasks', :silence_stdout do end end + describe 'dump_non_sql_in_json' do + it 'dumps non SQL data in json format' do + expect { run_rake_task('gitlab:usage_data:dump_non_sql_in_json') }.to output(/.*"recorded_at":.*/).to_stdout + end + end + describe 'generate_sql_metrics_fixture' do it 'generates fixture file correctly' do run_rake_task('gitlab:usage_data:generate_sql_metrics_queries') |