aboutsummaryrefslogtreecommitdiffstats
path: root/guides/bug_report_templates
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-09-02 17:16:15 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-09-02 17:16:15 +0900
commit9eba3d6976ee9db4286045714c9d3e529b10f807 (patch)
tree23151ebdb6f365c3ff4fe10eaf928b33d4e79cbe /guides/bug_report_templates
parent8697ce4dba9a4faa8b31543dabf90c94cd186984 (diff)
downloadrails-9eba3d6976ee9db4286045714c9d3e529b10f807.tar.gz
rails-9eba3d6976ee9db4286045714c9d3e529b10f807.tar.bz2
rails-9eba3d6976ee9db4286045714c9d3e529b10f807.zip
fix class name typo
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