aboutsummaryrefslogtreecommitdiffstats
path: root/guides/bug_report_templates
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2016-09-02 11:31:12 +0200
committerGitHub <noreply@github.com>2016-09-02 11:31:12 +0200
commit55c5dffd9f2220507ff1a7635c00a81577a8a391 (patch)
tree93f3b5620874185d8d378b9571297d2df212801c /guides/bug_report_templates
parent839d7140de949ba8acc2c20f7853ead20b643a05 (diff)
parent9eba3d6976ee9db4286045714c9d3e529b10f807 (diff)
downloadrails-55c5dffd9f2220507ff1a7635c00a81577a8a391.tar.gz
rails-55c5dffd9f2220507ff1a7635c00a81577a8a391.tar.bz2
rails-55c5dffd9f2220507ff1a7635c00a81577a8a391.zip
Merge pull request #26364 from y-yagi/fix_class_name_typo_in_bug_report_templates
fix class name typo in bug report templates for Active Job
Diffstat (limited to 'guides/bug_report_templates')
-rw-r--r--guides/bug_report_templates/active_job_gem.rb4
-rw-r--r--guides/bug_report_templates/active_job_master.rb4
2 files changed, 4 insertions, 4 deletions
diff --git a/guides/bug_report_templates/active_job_gem.rb b/guides/bug_report_templates/active_job_gem.rb
index 7001f70743..debc46ad54 100644
--- a/guides/bug_report_templates/active_job_gem.rb
+++ b/guides/bug_report_templates/active_job_gem.rb
@@ -25,8 +25,8 @@ end
class BuggyJobTest < ActiveJob::TestCase
def test_stuff
- assert_enqueued_with(job: BuggyJobTest) do
- BuggyJobTest.perform_later
+ assert_enqueued_with(job: BuggyJob) do
+ BuggyJob.perform_later
end
end
end
diff --git a/guides/bug_report_templates/active_job_master.rb b/guides/bug_report_templates/active_job_master.rb
index 9b1db1ce82..f61518713f 100644
--- a/guides/bug_report_templates/active_job_master.rb
+++ b/guides/bug_report_templates/active_job_master.rb
@@ -24,8 +24,8 @@ end
class BuggyJobTest < ActiveJob::TestCase
def test_stuff
- assert_enqueued_with(job: BuggyJobTest) do
- BuggyJobTest.perform_later
+ assert_enqueued_with(job: BuggyJob) do
+ BuggyJob.perform_later
end
end
end