From 9eba3d6976ee9db4286045714c9d3e529b10f807 Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Fri, 2 Sep 2016 17:16:15 +0900 Subject: [PATCH] fix class name typo --- guides/bug_report_templates/active_job_gem.rb | 4 ++-- guides/bug_report_templates/active_job_master.rb | 4 ++-- 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