rspeckled 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/rspeckled/plugins.rb +7 -4
- data/lib/rspeckled/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5b37d22422a35f920451587e16802c62b833e2b5cd0e86f570009a9e7d191874
|
|
4
|
+
data.tar.gz: 90f7cc87c262c7131d7d0866a720b5b1a95af2c127996575b0867f8b1990a8f1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c276d45e6fa8061781902484c9ac8c3b6b3204e3e73c3c45be14be39ddf34b65c693c293e5dc76338f43f8cc4ee30e15671af0c43cb7a325553104ee0ad2e57a
|
|
7
|
+
data.tar.gz: 749f9307d7b79a8f07b8b67cca5fe4928393185f8eb3422d7a322437371aa4a76954ca15289296cc15678e6b93bdb4c55ba8fb3323bb8c00762f3def8f1acf4b
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/lib/rspeckled/plugins.rb
CHANGED
|
@@ -23,6 +23,13 @@ require 'rspeckled/plugins/test_after_commit' if defined?(::TestAfterCom
|
|
|
23
23
|
require 'rspeckled/plugins/wisper' if defined?(::Wisper)
|
|
24
24
|
|
|
25
25
|
RSpec.configure do |config|
|
|
26
|
+
# The Order Of These Matters
|
|
27
|
+
|
|
28
|
+
# Timecop Is First So That Time Is Mocked For Any Subsequent Plugins
|
|
29
|
+
config.when_first_matching_example_defined(:time_mock) do
|
|
30
|
+
require 'rspeckled/plugins/timecop'
|
|
31
|
+
end
|
|
32
|
+
|
|
26
33
|
config.when_first_matching_example_defined(:authentication) do
|
|
27
34
|
require 'rspeckled/plugins/authentication'
|
|
28
35
|
end
|
|
@@ -59,10 +66,6 @@ RSpec.configure do |config|
|
|
|
59
66
|
require 'rspeckled/plugins/stripe'
|
|
60
67
|
end
|
|
61
68
|
|
|
62
|
-
config.when_first_matching_example_defined(:time_mock) do
|
|
63
|
-
require 'rspeckled/plugins/timecop'
|
|
64
|
-
end
|
|
65
|
-
|
|
66
69
|
config.when_first_matching_example_defined(:vcr) do
|
|
67
70
|
require 'rspeckled/plugins/vcr'
|
|
68
71
|
end
|
data/lib/rspeckled/version.rb
CHANGED
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|