Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #103 from enthuseinc/feature/fix_determine_backend

Fix determine_backend behavior so that it doesn't throw an exception
  • Loading branch information...
commit 9eb23eceff18658882b33addadb0f3947ddea7fb 2 parents b6467c8 + 4a62d90
@lardawge lardawge authored
View
2  lib/backgrounder/support/backends.rb
@@ -25,7 +25,7 @@ def available_backends
backends << :qu if defined? ::Qu
backends << :sidekiq if defined? ::Sidekiq
backends << :qc if defined? ::QC
- backends << :immediate
+ backends
end
end
View
4 spec/backgrounder/support/backends_spec.rb
@@ -33,10 +33,6 @@
it 'detects QC' do
expect(mock_module.available_backends).to include(:qc)
end
-
- it 'detects Immediate' do
- expect(mock_module.available_backends).to include(:immediate)
- end
end
describe 'setting backend' do
Please sign in to comment.
Something went wrong with that request. Please try again.