1. 26 8月, 2015 1 次提交
  2. 13 8月, 2015 1 次提交
  3. 08 5月, 2015 4 次提交
  4. 05 5月, 2015 1 次提交
  5. 29 4月, 2015 1 次提交
  6. 24 3月, 2015 2 次提交
  7. 12 3月, 2015 1 次提交
  8. 24 2月, 2015 2 次提交
  9. 07 2月, 2015 1 次提交
    • M
      Add an `:only` option to `perform_enqueued_jobs` to filter jobs based on · e818f657
      Michael Ryan 提交于
      type.
      
      This allows specific jobs to be tested, while preventing others from
      being performed unnecessarily.
      
      Example:
      
          def test_hello_job
            assert_performed_jobs 1, only: HelloJob do
              HelloJob.perform_later('jeremy')
              LoggingJob.perform_later
            end
          end
      
      An array may also be specified, to support testing multiple jobs.
      
      Example:
      
          def test_hello_and_logging_jobs
            assert_nothing_raised do
              assert_performed_jobs 2, only: [HelloJob, LoggingJob] do
                HelloJob.perform_later('jeremy')
                LoggingJob.perform_later('stewie')
                RescueJob.perform_later('david')
              end
            end
          end
      
      Fixes #18802.
      
      Trim space and document :only option.
      e818f657
  10. 30 12月, 2014 1 次提交
    • C
      ActiveJob testing improvements · 8a73f4b5
      Cristian Bica 提交于
      1. The :test adapter wasn't going through a full cycle of
      serialize/deserialize when performing jobs. Now it does
      2. Regular AJ tests were not run for the :test adapter. Now they are
      3. ActiveJob::TestHelper uses assert_valid_keys but doesn’t requires
      the file that implements that method. Now it does
      8a73f4b5
  11. 20 12月, 2014 1 次提交
  12. 01 11月, 2014 1 次提交
  13. 22 10月, 2014 1 次提交
  14. 09 10月, 2014 1 次提交
  15. 08 10月, 2014 2 次提交
  16. 06 10月, 2014 1 次提交
  17. 27 9月, 2014 2 次提交
  18. 22 9月, 2014 1 次提交
  19. 19 9月, 2014 1 次提交
  20. 18 9月, 2014 1 次提交
    • A
      [ci skip] AJ docs fixes · 9fddcdd9
      Akshay Vishnoi 提交于
      1. Indentation
      2. Spaces issues
      3. Spelling correction
      4. Grammar correction
      5. Add #:nodoc: to all internal classes
      9fddcdd9
  21. 15 9月, 2014 1 次提交
  22. 11 9月, 2014 1 次提交
  23. 04 9月, 2014 1 次提交
  24. 03 9月, 2014 1 次提交
  25. 02 9月, 2014 4 次提交
  26. 30 8月, 2014 1 次提交
  27. 22 8月, 2014 1 次提交
  28. 21 8月, 2014 1 次提交
  29. 19 8月, 2014 1 次提交
  30. 18 8月, 2014 1 次提交