diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-04-21 08:02:26 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-04-21 08:02:26 +0900 |
commit | 8ae20e65827fb2670ca0aaf253247c5e0afc6021 (patch) | |
tree | 414e4f96636300c7b787725a5fb84076c089d9b5 /activejob/test/cases | |
parent | 32431b37704c0aaec06ae1a23e0d6091d6542fd2 (diff) | |
download | rails-8ae20e65827fb2670ca0aaf253247c5e0afc6021.tar.gz rails-8ae20e65827fb2670ca0aaf253247c5e0afc6021.tar.bz2 rails-8ae20e65827fb2670ca0aaf253247c5e0afc6021.zip |
Add missing require
Without this, unit test fails.
```
bundle exec ruby -w -Ilib:lib:test test/cases/logging_test.rb
Using inline
Run options: --seed 41246
# Running:
SE......S....
Finished in 0.052938s, 245.5696 runs/s, 831.1585 assertions/s.
1) Error:
LoggingTest#test_job_error_logging:
NameError: uninitialized constant LoggingTest::RescueJob
test/cases/logging_test.rb:130:in `rescue in test_job_error_logging'
test/cases/logging_test.rb:129:in `test_job_error_logging'
13 runs, 44 assertions, 0 failures, 1 errors, 2 skips
You have skipped tests. Run with --verbose for details.
```
Diffstat (limited to 'activejob/test/cases')
-rw-r--r-- | activejob/test/cases/logging_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activejob/test/cases/logging_test.rb b/activejob/test/cases/logging_test.rb index e1b546fae7..d5ca0f385c 100644 --- a/activejob/test/cases/logging_test.rb +++ b/activejob/test/cases/logging_test.rb @@ -5,6 +5,7 @@ require "jobs/hello_job" require "jobs/logging_job" require "jobs/overridden_logging_job" require "jobs/nested_job" +require "jobs/rescue_job" require "models/person" class LoggingTest < ActiveSupport::TestCase |