Skip to content

Commit

Permalink
Rubocop fixes for merged PR
Browse files Browse the repository at this point in the history
  • Loading branch information
albus522 committed Mar 31, 2017
1 parent 263123b commit bd07783
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions lib/delayed/backend/shared_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,10 @@ def create_job(opts = {})
end

it 'does not mutate the options hash' do
options = { priority: 1}
job = described_class.enqueue SimpleJob.new, options
expect(options).to eq({ priority: 1 })
options = {:priority => 1}
described_class.enqueue SimpleJob.new, options
expect(options).to eq(:priority => 1)
end

end

context 'with delay_jobs = false' do
Expand Down

0 comments on commit bd07783

Please sign in to comment.