Permalink
Browse files

fix a couple typos (no functional impacts)

  • Loading branch information...
1 parent 68d13fb commit 2e391c9d036ec48c7a7d5c47ab888bbb893eaa2d Patrick Roby committed May 30, 2012
Showing with 7 additions and 7 deletions.
  1. +1 −1 lib/qless/worker.rb
  2. +6 −6 spec/integration/server_spec.rb
View
@@ -73,7 +73,7 @@ def work(interval = 5.0)
if run_as_single_process
# We're staying in the same process
- procline "Singe processing #{job.description}"
+ procline "Single processing #{job.description}"
perform(job)
elsif @child = fork
# We're in the parent process
@@ -294,9 +294,9 @@ module Qless
first('li', :text => /bar/i).should be_nil
foo = 5.times.map { |i| q.put(Qless::Job, {}) }
- q.pop(5).each { |job| job.fail('foo', 'foo-messae') }
+ q.pop(5).each { |job| job.fail('foo', 'foo-message') }
bar = 5.times.map { |i| q.put(Qless::Job, {}) }
- q.pop(5).each { |job| job.fail('bar', 'bar-messae') }
+ q.pop(5).each { |job| job.fail('bar', 'bar-message') }
visit '/failed'
first('li', :text => /foo\D+5/i).should be
first('li', :text => /bar\D+5/i).should be
@@ -312,9 +312,9 @@ module Qless
# and then we'll make sure that we can retry all of
# one kind, but the rest still remain failed.
foo = 5.times.map { |i| q.put(Qless::Job, {}) }
- q.pop(5).each { |job| job.fail('foo', 'foo-messae') }
+ q.pop(5).each { |job| job.fail('foo', 'foo-message') }
bar = 5.times.map { |i| q.put(Qless::Job, {}) }
- q.pop(5).each { |job| job.fail('bar', 'bar-messae') }
+ q.pop(5).each { |job| job.fail('bar', 'bar-message') }
visit '/failed'
first('li', :text => /foo\D+5/i).should be
@@ -352,9 +352,9 @@ module Qless
# and then we'll make sure that we can retry all of
# one kind, but the rest still remain failed.
foo = 5.times.map { |i| q.put(Qless::Job, {}) }
- q.pop(5).each { |job| job.fail('foo', 'foo-messae') }
+ q.pop(5).each { |job| job.fail('foo', 'foo-message') }
bar = 5.times.map { |i| q.put(Qless::Job, {}) }
- q.pop(5).each { |job| job.fail('bar', 'bar-messae') }
+ q.pop(5).each { |job| job.fail('bar', 'bar-message') }
visit '/failed'
first('li', :text => /foo\D+5/i).should be

0 comments on commit 2e391c9

Please sign in to comment.