From 762e3f05f3d372cb32570db0deeef27232c4dd00 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Sun, 7 Aug 2016 17:50:59 +0900 Subject: Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty lines --- activejob/test/cases/queuing_test.rb | 2 -- activejob/test/jobs/callback_job.rb | 1 - activejob/test/support/integration/adapters/sneakers.rb | 1 - 3 files changed, 4 deletions(-) (limited to 'activejob') 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 -- cgit v1.2.3