leap_web_certs 0.0.2 → 0.0.3
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.
- data/app/models/cert.rb +1 -1
- data/lib/leap_web_certs/version.rb +1 -1
- data/test/unit/cert_test.rb +3 -3
- metadata +4 -4
data/app/models/cert.rb
CHANGED
data/test/unit/cert_test.rb
CHANGED
@@ -9,11 +9,11 @@ class CertTest < ActiveSupport::TestCase
|
|
9
9
|
end
|
10
10
|
|
11
11
|
test "certs come with attachments" do
|
12
|
-
assert @sample.has_attachment? "cert.
|
12
|
+
assert @sample.has_attachment? "cert.txt"
|
13
13
|
end
|
14
14
|
|
15
15
|
test "cert.zip_attachment returns couchDB attachment" do
|
16
|
-
assert_equal "
|
16
|
+
assert_equal "text/plain", @sample.zip_attachment["content_type"]
|
17
17
|
end
|
18
18
|
|
19
19
|
test "cert.zipped returns the actual data" do
|
@@ -24,7 +24,7 @@ class CertTest < ActiveSupport::TestCase
|
|
24
24
|
end
|
25
25
|
|
26
26
|
test "cert.zipname returns name for the zip file" do
|
27
|
-
assert_equal "cert.
|
27
|
+
assert_equal "cert.txt", @sample.zipname
|
28
28
|
end
|
29
29
|
|
30
30
|
test "test data is valid" do
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: leap_web_certs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Azul
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-09-
|
18
|
+
date: 2012-09-19 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: rails
|