Home
last modified time | relevance | path

Searched refs:have_received (Results 1 – 25 of 156) sorted by relevance

1234567

/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/qa/spec/service/docker_run/
H A Dgitlab_runner_spec.rb35 expect(subject).to have_received(:shell).with(/ --non-interactive /)
39 expect(subject).to have_received(:shell).with(/--name #{runner_name} /)
40 expect(subject).to have_received(:shell).with(/--url #{subject.address} /)
45 expect(subject).to have_received(:shell).with(/--run-untagged=true /)
53 expect(subject).to have_received(:shell).with(/ -d /)
57 expect(subject).to have_received(:shell).with(/ --rm /)
67 expect(subject).to have_received(:shell).with(/--run-untagged=true /)
71 expect(subject).not_to have_received(:shell).with(/--tag-list/)
118 expect(subject).to have_received(:shell).with(/--executor shell /)
129 expect(subject).to have_received(:shell).with(/--executor docker /)
[all …]
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/services/ci/
H A Dupdate_build_state_service_spec.rb56 .not_to have_received(:increment_trace_operation)
112 .not_to have_received(:increment_trace_operation)
120 .not_to have_received(:increment_error_counter)
161 .to have_received(:increment_trace_operation)
173 .to have_received(:observe_migration_duration)
182 .to have_received(:increment_trace_operation)
190 .to have_received(:increment_error_counter)
264 .to have_received(:increment_error_counter)
268 .to have_received(:increment_error_counter)
286 .to have_received(:increment_error_counter)
[all …]
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/lib/backup/
H A Dmanager_spec.rb101 expect(FileUtils).to have_received(:rm_rf).with(path)
108 expect(progress).to have_received(:puts).with('done')
143 expect(FileUtils).not_to have_received(:rm)
167 expect(FileUtils).not_to have_received(:rm)
184 expect(FileUtils).not_to have_received(:rm)
294 expect(progress).to have_received(:puts)
311 expect(progress).to have_received(:puts)
317 expect(progress).to have_received(:puts)
337 expect(progress).to have_received(:puts)
359 expect(Kernel).to have_received(:system)
[all …]
H A Drepositories_spec.rb22 expect(strategy).to have_received(:start).with(:create)
23 expect(strategy).to have_received(:enqueue).with(project, Gitlab::GlRepository::PROJECT)
24 expect(strategy).to have_received(:enqueue).with(project, Gitlab::GlRepository::WIKI)
25 expect(strategy).to have_received(:enqueue).with(project, Gitlab::GlRepository::DESIGN)
26 … expect(strategy).to have_received(:enqueue).with(project_snippet, Gitlab::GlRepository::SNIPPET)
28 expect(strategy).to have_received(:wait)
181 expect(strategy).to have_received(:start).with(:restore)
182 expect(strategy).to have_received(:enqueue).with(project, Gitlab::GlRepository::PROJECT)
183 expect(strategy).to have_received(:enqueue).with(project, Gitlab::GlRepository::WIKI)
184 expect(strategy).to have_received(:enqueue).with(project, Gitlab::GlRepository::DESIGN)
[all …]
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/qa/spec/specs/
H A Dallure_report_spec.rb34 expect(AllureRspec).not_to have_received(:configure)
35 expect(RSpec).not_to have_received(:configure)
36 expect(Capybara::Screenshot).not_to have_received(:after_save_screenshot)
37 expect(Capybara::Screenshot).not_to have_received(:after_save_html)
79 expect(rspec_config).to have_received(:add_formatter).with(AllureRspecFormatter).ordered
80 expect(rspec_config).to have_received(:add_formatter)
85 expect(rspec_config).to have_received(:append_after) do |&arg|
90 expect(Allure).to have_received(:add_attachment).with(
96 expect(Allure).to have_received(:add_attachment).with(
102 expect(Allure).to have_received(:add_attachment).with(
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/models/
H A Dproject_statistics_spec.rb113 expect(statistics).to have_received(:update_commit_count)
115 expect(statistics).to have_received(:update_wiki_size)
117 expect(statistics).to have_received(:update_snippets_size)
118 expect(statistics).to have_received(:update_uploads_size)
131 expect(statistics).not_to have_received(:update_wiki_size)
144 expect(statistics).to have_received(:update_commit_count)
146 expect(statistics).to have_received(:update_wiki_size)
148 expect(statistics).to have_received(:update_uploads_size)
170 expect(statistics).to have_received(:update_commit_count)
172 expect(statistics).to have_received(:update_wiki_size)
[all …]
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/qa/spec/scenario/
H A Dtemplate_spec.rb18 expect(feature).to have_received(:enable).with('a-feature')
27 expect(feature).to have_received(:disable).with('another-feature')
36 expect(feature).not_to have_received(:disable).with('another-feature')
44 expect(feature).to have_received(:enable).with('a-feature')
45 expect(feature).to have_received(:disable).with('a-feature')
56 expect(feature).to have_received(:disable).with('another-feature')
57 expect(feature).to have_received(:enable).with('another-feature')
68 expect(feature).not_to have_received(:disable).with('another-feature')
69 expect(feature).not_to have_received(:enable).with('another-feature')
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/services/projects/
H A Dprotect_default_branch_service_spec.rb24 .not_to have_received(:protect_default_branch)
37 .to have_received(:protect_default_branch)
70 .to have_received(:change_head)
77 .to have_received(:create_protected_branch)
92 .to have_received(:change_head)
99 .not_to have_received(:create_protected_branch)
117 .to have_received(:change_head)
124 .to have_received(:create_protected_branch)
139 .to have_received(:change_head)
146 .not_to have_received(:create_protected_branch)
[all …]
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/lib/gitlab/
H A Drack_attack_spec.rb51 expect(fake_rack_attack).to have_received(:throttled_response=).with(an_instance_of(Proc))
57 expect(fake_rack_attack).to have_received(:safelist).with('throttle_bypass_header')
64 expect(fake_rack_attack).to have_received(:throttle).with(throttle.to_s, options)
74 expect(fake_rack_attack).to have_received(:track).with(throttle.to_s, options)
76 expect(fake_rack_attack).not_to have_received(:throttle)
87 expect(fake_rack_attack).to have_received(:track).with(throttle.to_s, throttles[throttle])
90 … expect(fake_rack_attack).to have_received(:throttle).with(throttle.to_s, throttles[throttle])
99 …expect(fake_rack_attack).to have_received(:track).with('throttle_unauthenticated_api', throttles[:…
100 …expect(fake_rack_attack).to have_received(:track).with('throttle_unauthenticated_web', throttles[:…
H A Ddaemon_spec.rb33 expect(Kernel).to have_received(:at_exit)
47 expect(subject).to have_received(:run_thread)
79 expect(subject).not_to have_received(:run_thread)
107 expect(subject).to have_received(:run_thread).once
115 expect(subject).to have_received(:stop_working)
149 expect(subject).not_to have_received(:run_thread)
157 expect(subject).not_to have_received(:stop_working)
H A Derror_tracking_spec.rb149 expect(Raven).to have_received(:capture_exception).with(
158 expect(Gitlab::ErrorTracking::Logger).to have_received(:error).with(logger_payload)
167 expect(Gitlab::ErrorTracking::Logger).to have_received(:error).with(
180 expect(Raven).to have_received(:capture_exception).with(
193 expect(Raven).to have_received(:capture_exception).with(
245 expect(Gitlab::ErrorTracking::Logger).to have_received(:error).with(
269 expect(Gitlab::ErrorTracking::Logger).to have_received(:error).with(
H A Drepository_cache_spec.rb62 expect(backend).to have_received(:delete).with("foo:#{namespace}")
69 expect(backend).to have_received(:fetch).with("bar:#{namespace}")
76 expect(backend).to have_received(:fetch).with("baz:#{namespace}", &p)
83 expect(backend).to have_received(:write).with("test:#{namespace}", 'test')
88 … expect(backend).to have_received(:write).with("test:#{namespace}", 'test', expires_in: 10.minutes)
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/lib/gitlab/metrics/
H A Dsli_spec.rb57 expect(counters).to all(have_received(:get).with({ foo: 'bar' }))
58 expect(counters).to all(have_received(:get).with({ foo: 'baz' }))
70 expect(total_counter).to have_received(:increment).with({ hello: 'world' })
71 expect(success_counter).to have_received(:increment).with({ hello: 'world' })
77 expect(total_counter).to have_received(:increment).with({ hello: 'world' })
78 expect(success_counter).not_to have_received(:increment).with({ hello: 'world' })
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/qa/spec/support/formatters/
H A Dtest_stats_formatter_spec.rb99 expect(influx_client).not_to have_received(:create_write_api)
108 expect(influx_client).not_to have_received(:create_write_api)
137 expect(influx_write_api).to have_received(:write).with(data: [data])
149 expect(influx_write_api).to have_received(:write).with(data: [data])
164 expect(influx_write_api).to have_received(:write).with(data: [data])
181 expect(influx_write_api).to have_received(:write).with(data: [data])
197 expect(influx_write_api).to have_received(:write).with(data: [data])
H A Dallure_metadata_formatter_spec.rb37 expect(rspec_example).to have_received(:issue).with('Quarantine issue', 'issue')
38 … expect(rspec_example).to have_received(:add_link).with(name: "Job(#{ci_job})", url: ci_job_url)
39 expect(rspec_example).to have_received(:issue).with(
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/lib/gitlab/query_limiting/
H A Dactive_support_subscriber_spec.rb19 .to have_received(:increment)
23 .to have_received(:executed_sql)
36 .to have_received(:increment)
40 .to have_received(:executed_sql)
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/lib/gitlab/ci/pipeline/chain/
H A Dsequence_spec.rb28 expect(second_step).not_to have_received(:perform!)
46 expect(first_step).to have_received(:perform!)
47 expect(second_step).to have_received(:perform!)
61 expect(histogram).to have_received(:observe)
82 expect(histogram).to have_received(:observe)
97 expect(histogram).to have_received(:observe)
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/qa/spec/support/
H A Drepeater_spec.rb418 expect(QA::Runtime::Logger).not_to have_received(:debug)
426 expect(QA::Runtime::Logger).not_to have_received(:debug)
434 expect(QA::Runtime::Logger).not_to have_received(:debug)
443 expect(QA::Runtime::Logger).to have_received(:debug).with(<<~MSG.strip).ordered.once
446 expect(QA::Runtime::Logger).to have_received(:debug).with('ended retry').ordered.once
447 expect(QA::Runtime::Logger).not_to have_received(:debug).with(/Attempt number/)
461 expect(QA::Runtime::Logger).to have_received(:debug).with(<<~MSG.strip).ordered.once
464 expect(QA::Runtime::Logger).to have_received(:debug).with('Attempt number 2').ordered.once
465 expect(QA::Runtime::Logger).to have_received(:debug).with('Attempt number 3').ordered.once
466 expect(QA::Runtime::Logger).to have_received(:debug).with('ended retry').ordered.once
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/initializers/
H A Daction_mailer_hooks_spec.rb19 have_received(:register_interceptor).with(Gitlab::Email::Hook::SmimeSignatureInterceptor))
44 have_received(:register_interceptor).with(::Premailer::Rails::Hook).ordered)
46have_received(:register_interceptor).with(Gitlab::Email::Hook::SmimeSignatureInterceptor).ordered)
49have_received(:register_interceptor).with(Gitlab::Email::Hook::SmimeSignatureInterceptor))
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/qa/spec/support/shared_examples/
H A Dscenario_shared_examples.rb33 …expect(attributes).to have_received(:define).with(:gitlab_address, 'http://gitlab_address').at_lea…
39 expect(release).to have_received(:perform_before_hooks).once
45 expect(runner).to have_received(:tags=).with(tags)
52 expect(runner).to have_received(:options=).with(options)
61 expect(attributes).to have_received(:define).with(k, v)
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/support/helpers/
H A Dsnowplow_helpers.rb54 expect(SnowplowTracker::SelfDescribingJson).to have_received(:new)
63 expect(Gitlab::Tracking).to have_received(:event) # rubocop:disable RSpec/ExpectGitlabTracking
84 …expect(Gitlab::Tracking).not_to have_received(:event).with(category, action, **kwargs) # rubocop:d…
86 … expect(Gitlab::Tracking).not_to have_received(:event) # rubocop:disable RSpec/ExpectGitlabTracking
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/qa/spec/tools/
H A Dreliable_report_spec.rb128 expect(RestClient::Request).not_to have_received(:execute)
129 expect(slack_notifier).not_to have_received(:post)
152 expect(RestClient::Request).to have_received(:execute).with(
163 expect(slack_notifier).to have_received(:post).with(
185 expect(slack_notifier).to have_received(:post).with(
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/models/clusters/applications/
H A Dknative_spec.rb46 expect(ClusterWaitForIngressIpAddressWorker).to have_received(:perform_in)
60 … expect(ClusterConfigureIstioWorker).to have_received(:perform_async).with(application.cluster_id)
72 … expect(ClusterConfigureIstioWorker).to have_received(:perform_async).with(application.cluster_id)
91 expect(ClusterWaitForIngressIpAddressWorker).to have_received(:perform_async)
99 expect(ClusterWaitForIngressIpAddressWorker).not_to have_received(:perform_async)
107 expect(ClusterWaitForIngressIpAddressWorker).not_to have_received(:perform_in)
115 expect(ClusterWaitForIngressIpAddressWorker).not_to have_received(:perform_in)
H A Dingress_spec.rb89 expect(ClusterWaitForIngressIpAddressWorker).to have_received(:perform_in)
102 expect(ClusterWaitForIngressIpAddressWorker).to have_received(:perform_async)
110 expect(ClusterWaitForIngressIpAddressWorker).not_to have_received(:perform_async)
118 expect(ClusterWaitForIngressIpAddressWorker).not_to have_received(:perform_in)
126 expect(ClusterWaitForIngressIpAddressWorker).not_to have_received(:perform_in)
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/lib/gitlab/form_builders/
H A Dgitlab_ui_form_builder_spec.rb70 …expect(fake_template).to have_received(:check_box).with(:user, :view_diffs_file_by_file, { class: …
78 …expect(fake_template).to have_received(:label).with(:user, :view_diffs_file_by_file, { class: %w(c…
131 …expect(fake_template).to have_received(:radio_button).with(:user, :access_level, :admin, { class: …
139 …expect(fake_template).to have_received(:label).with(:user, :access_level, { class: %w(custom-contr…

1234567