Skip to content

Commit

Permalink
Fix quoting issue for rubocop.
Browse files Browse the repository at this point in the history
  • Loading branch information
edgibbs committed Jan 18, 2015
1 parent 995ff6a commit 854e553
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/delayed/backend/shared_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ def create_job(opts = {})

it_behaves_like 'any failure more than Worker.max_attempts times'

context "and destroy failed jobs is false" do
context 'and destroy failed jobs is false' do
it 'is failed if it failed more than Worker.max_attempts times' do
expect(@job.reload).not_to be_failed
Delayed::Worker.max_attempts.times { worker.reschedule(@job) }
Expand All @@ -690,7 +690,7 @@ def create_job(opts = {})
end
end

context "and destroy failed jobs for job is false" do
context 'and destroy failed jobs for job is false' do
before do
Delayed::Worker.destroy_failed_jobs = true
end
Expand Down

0 comments on commit 854e553

Please sign in to comment.