canvas-lms/spec
Caleb Guanzon 75e5d642ec spec: use have_received for statsd increment tests
refs VICE-2034

i notice that some specs use
have_receieved instead of increments

from the looks of it, these tests
look hardier than simply using receive

p.s. I really wanted to add the new cop
to this commit, but adding a cop is a big effort
in and of itself. it will be tackled in
the next commit after this one is merged

Change-Id: If4a6bde01017abb5ab4c16cdd5d056e4caf1788a
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/273314
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Drake Harper <drake.harper@instructure.com>
Reviewed-by: Brian Watson <bwatson@instructure.com>
QA-Review: Drake Harper <drake.harper@instructure.com>
Product-Review: Drake Harper <drake.harper@instructure.com>
2021-09-13 17:05:49 +00:00
..
apis bump inst-jobs 2021-09-11 00:15:46 +00:00
coffeescripts Fix course title not showing on home front page 2021-09-09 14:12:35 +00:00
contracts Prevent creating LE Kinesis client from hanging 2021-08-23 22:19:44 +00:00
controllers spec: use have_received for statsd increment tests 2021-09-13 17:05:49 +00:00
factories Add pace plan controller actions 2021-08-30 16:53:44 +00:00
factory_bot add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
fixtures spec: Uses smaller zip file to get a context's durations shorter 2021-08-27 16:56:33 +00:00
formatters remove code for the old TestQueue 2021-07-29 14:15:14 +00:00
gem_integration/canvas_connect add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
graphql use ID for context_id 2021-09-10 22:12:40 +00:00
helpers Hide notification message for k5 students 2021-09-09 16:00:58 +00:00
initializers update activerecord-pg-extensions 2021-09-10 19:55:20 +00:00
instfs/selenium Remove course image feature flag 2021-08-03 21:07:41 +00:00
integration add ability to run rspecq A/B testing; refs DE-822 2021-09-10 18:48:15 +00:00
javascripts hide status menu for a closed grading period 2021-09-09 21:54:00 +00:00
lib spec: use have_received for statsd increment tests 2021-09-13 17:05:49 +00:00
manual_seeding add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
messages move broadcast_policy to mention object 2021-05-18 20:34:43 +00:00
migrations clear account sms overrides 2021-08-31 19:12:00 +00:00
models spec: use have_received for statsd increment tests 2021-09-13 17:05:49 +00:00
observers Add OutcomeFriendlyDescription live events to Canvas 2021-08-30 15:48:59 +00:00
presenters Initial pace plans import 2021-09-01 19:58:33 +00:00
requests Fix url to speedgrader guide 2021-04-02 14:28:09 +00:00
schemas/lti add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
selenium spec: unskip dashboard observer grades test 2021-09-13 16:19:40 +00:00
serializers use a separate manage_assignments_edit flag when ff is on 2021-09-08 20:58:12 +00:00
shared_examples disallow reassigning assignments after lock date 2021-07-27 17:53:00 +00:00
support spec: use have_received for statsd increment tests 2021-09-13 17:05:49 +00:00
views Add a k5_user_bool variable to fullstory 2021-08-20 14:44:36 +00:00
.eslintrc Update eslint to v7 2021-05-20 18:28:51 +00:00
.rspec_parallel use parallel_tests for more parallelization 2020-03-30 21:38:47 +00:00
ams_spec_helper.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
axe_selenium_helper.rb Replace canvas-axe-selenium with stormbreaker 2021-06-23 20:19:51 +00:00
broadcast_integration.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
cassandra_spec_helper.rb move database_builder to canvas_cassandra 2021-02-25 15:19:20 +00:00
conditional_release_spec_helper.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
coverage_tool.rb remove docker_processes from core rspec and selenium test runs 2021-05-12 19:47:12 +00:00
factories.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
factory_bot_spec_helper.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
feature_flag_helper.rb features are never enabled on dummy courses or accounts 2021-05-26 16:00:03 +00:00
file_upload_helper.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
force_failure_spec.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
import_helper.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
jspec.sh
lti2_course_spec_helper.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
lti2_spec_helper.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
lti_1_3_spec_helper.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
lti_1_3_tool_configuration_spec_helper.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
lti_spec_helper.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
plagiarism_platform_spec_helper.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
quiz_spec_helper.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
rcov.opts
rspec_mock_extensions.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
sharding_spec_helper.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
simple_cov_result_merger.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
spec.opts remove abort_on_consistent_badness_formatter 2020-10-13 18:10:04 +00:00
spec_helper.rb bump inst-jobs 2021-09-11 00:15:46 +00:00