omnikiq 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/omnikiq.rb +5 -0
- data/spec/configuration_spec.rb +1 -0
- data/spec/omnikiq_spec.rb +12 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1a85bac23ae74c3e63e7d5b86a115c47c6eec20
|
4
|
+
data.tar.gz: e17f6a9d4ef7182de40dd5da2d85a51e14819664
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ba97055b7db8168b16b3ffbd66a7a457ff16704f34541a0bb4cd856393666c07ee5fd53da25291651f896ac29c5eb57597f1a2535d29458da00488c74cb375f
|
7
|
+
data.tar.gz: cbe0a0fd8190a7020c5d3c2e7b08b019d9fd75e8f0d4e042c62eb29d7286783d20aa17740c92338a5231119eda98e81e2ab46b3bb6b0ec098dbb4c8f3c7fa7ee
|
data/lib/omnikiq.rb
CHANGED
data/spec/configuration_spec.rb
CHANGED
data/spec/omnikiq_spec.rb
CHANGED
@@ -19,5 +19,17 @@ describe OmniKiq do
|
|
19
19
|
c.mixpanel_api_key = 'mixpanel id'
|
20
20
|
end
|
21
21
|
end
|
22
|
+
|
23
|
+
context 'when test mode is set to true' do
|
24
|
+
before do
|
25
|
+
OmniKiq.configure do |c|
|
26
|
+
c.test_mode = true
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
it 'will set fake to Sidekiq' do
|
31
|
+
expect(Sidekiq::Testing).to be_fake
|
32
|
+
end
|
33
|
+
end
|
22
34
|
end
|
23
35
|
end
|