active_payment 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_payment/configuration.rb +6 -0
- data/lib/active_payment/version.rb +1 -1
- data/spec/active_payment/configuration_spec.rb +16 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +29507 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4f56028a3c36cad165bf1c617ef183a3818d502
|
4
|
+
data.tar.gz: 82c5dd80c4e2a4649d783e47023d07679e83308d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66fa5109b7a33754581e29ba9f2d1eb8e20085a4869a023d6a7299ae5e75db80bfa2309cba69dcb824f824cb14cff9d6431bf0f39b441f1bce877500f5e97790
|
7
|
+
data.tar.gz: 66c78b1e0ecd774065de7a8ab92f0dee0585f43e3fd1f2465cb9875d18bb5eab6fab79622035257630abb7e35eb7b66229c33ac44f5c143ae27cf3d6f062ccf4
|
@@ -56,4 +56,20 @@ describe ActivePayment::Configuration do
|
|
56
56
|
@configuration.test = true
|
57
57
|
expect(@configuration.test).to be true
|
58
58
|
end
|
59
|
+
|
60
|
+
it 'set test with a boolean value' do
|
61
|
+
@configuration.test = true
|
62
|
+
expect(@configuration.test).to be true
|
63
|
+
|
64
|
+
@configuration.test = false
|
65
|
+
expect(@configuration.test).to be false
|
66
|
+
end
|
67
|
+
|
68
|
+
it 'set test with a string value' do
|
69
|
+
@configuration.test = "true"
|
70
|
+
expect(@configuration.test).to be true
|
71
|
+
|
72
|
+
@configuration.test = "false"
|
73
|
+
expect(@configuration.test).to be false
|
74
|
+
end
|
59
75
|
end
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|