aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/test/cases/test_helper_test.rb
diff options
context:
space:
mode:
authorAbdelkader Boudih <terminale@gmail.com>2014-09-02 14:06:19 +0000
committerAbdelkader Boudih <terminale@gmail.com>2014-09-02 14:26:43 +0000
commitd7add5352e7c8b31850431bb93acb56d93c5dc64 (patch)
treeed1d37439b1d736af387ac356cc542e1a837d07b /activejob/test/cases/test_helper_test.rb
parentfccf3d0b6304a7b8dacad05b63f24cdf41e652df (diff)
downloadrails-d7add5352e7c8b31850431bb93acb56d93c5dc64.tar.gz
rails-d7add5352e7c8b31850431bb93acb56d93c5dc64.tar.bz2
rails-d7add5352e7c8b31850431bb93acb56d93c5dc64.zip
[ActiveJob] TestCase (Will squash before merge)
Diffstat (limited to 'activejob/test/cases/test_helper_test.rb')
-rw-r--r--activejob/test/cases/test_helper_test.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/activejob/test/cases/test_helper_test.rb b/activejob/test/cases/test_helper_test.rb
index ee558e6d59..240aa23ce3 100644
--- a/activejob/test/cases/test_helper_test.rb
+++ b/activejob/test/cases/test_helper_test.rb
@@ -1,4 +1,3 @@
-# encoding: utf-8
require 'helper'
require 'active_support/core_ext/time'
require 'active_support/core_ext/date'
@@ -74,7 +73,7 @@ class EnqueuedJobsTest < ActiveJob::TestCase
assert_match(/1 .* but 2/, error.message)
end
- #
+
def test_assert_no_enqueued_jobs_failure
error = assert_raise ActiveSupport::TestCase::Assertion do
assert_no_enqueued_jobs do
@@ -182,7 +181,7 @@ class PerformedJobsTest < ActiveJob::TestCase
assert_match(/1 .* but 2/, error.message)
end
- #
+
def test_assert_no_performed_jobs_failure
error = assert_raise ActiveSupport::TestCase::Assertion do
assert_no_performed_jobs do