aboutsummaryrefslogtreecommitdiffstats
path: root/activejob
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2016-08-07 17:50:59 +0900
committerRyuta Kamizono <kamipo@gmail.com>2016-08-07 17:50:59 +0900
commit762e3f05f3d372cb32570db0deeef27232c4dd00 (patch)
tree2c3225f7698ef3f7b2556510136c64a58ecf7355 /activejob
parent0d12708f3967fe93c172b30bd3e98e4433761c36 (diff)
downloadrails-762e3f05f3d372cb32570db0deeef27232c4dd00.tar.gz
rails-762e3f05f3d372cb32570db0deeef27232c4dd00.tar.bz2
rails-762e3f05f3d372cb32570db0deeef27232c4dd00.zip
Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty lines
Diffstat (limited to 'activejob')
-rw-r--r--activejob/test/cases/queuing_test.rb2
-rw-r--r--activejob/test/jobs/callback_job.rb1
-rw-r--r--activejob/test/support/integration/adapters/sneakers.rb1
3 files changed, 0 insertions, 4 deletions
diff --git a/activejob/test/cases/queuing_test.rb b/activejob/test/cases/queuing_test.rb
index 9690e0cc79..a3ecb15c31 100644
--- a/activejob/test/cases/queuing_test.rb
+++ b/activejob/test/cases/queuing_test.rb
@@ -2,7 +2,6 @@ require "helper"
require "jobs/hello_job"
require "active_support/core_ext/numeric/time"
-
class QueuingTest < ActiveSupport::TestCase
setup do
JobBuffer.clear
@@ -32,7 +31,6 @@ class QueuingTest < ActiveSupport::TestCase
assert_equal [ "Jamie" ], job.arguments
end
-
test "job returned by perform_at has the timestamp available" do
begin
job = HelloJob.set(wait_until: Time.utc(2014, 1, 1)).perform_later
diff --git a/activejob/test/jobs/callback_job.rb b/activejob/test/jobs/callback_job.rb
index 7f9fc1c74a..ca2a8e031a 100644
--- a/activejob/test/jobs/callback_job.rb
+++ b/activejob/test/jobs/callback_job.rb
@@ -17,7 +17,6 @@ class CallbackJob < ActiveJob::Base
job.history << "CallbackJob ran around_enqueue_stop"
end
-
def perform(person = "david")
# NOTHING!
end
diff --git a/activejob/test/support/integration/adapters/sneakers.rb b/activejob/test/support/integration/adapters/sneakers.rb
index b3639572fb..08743c1f05 100644
--- a/activejob/test/support/integration/adapters/sneakers.rb
+++ b/activejob/test/support/integration/adapters/sneakers.rb
@@ -12,7 +12,6 @@ module Sneakers
end
end
-
module SneakersJobsManager
def setup
ActiveJob::Base.queue_adapter = :sneakers