nearfine-catalogs 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/catalog.rb +5 -1
- data/test/test_catalog.rb +2 -3
- 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: fce50099263ab4e13e6044d609b61e463f06c5cd
|
4
|
+
data.tar.gz: 91c873a2337d643138b2919ce06a836ba1c91db3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f8c6ed556e7787ebb618241c6fffda2e22423849cd99a07143cd8c39e91bb712182b751b9b6b795c4012b72ac020934d81d7ebcff435d6e38611c17f0ec180a
|
7
|
+
data.tar.gz: 1298e8248f4f0b1ee9159f538f1f56ffc9f4b675da5e670aa9f4e361cc2be583f30b5170094b5d6e9077ec0a4b4c0ed84463d74095233ce25bde78f6806a508a
|
data/lib/catalog.rb
CHANGED
data/test/test_catalog.rb
CHANGED
@@ -3,8 +3,7 @@ require 'catalog'
|
|
3
3
|
|
4
4
|
class TestCatalog < Minitest::Test
|
5
5
|
def test_returns_all
|
6
|
-
|
7
|
-
|
8
|
-
catalogs.each { |catalog| assert_kind_of Catalog, catalog }
|
6
|
+
refute_empty Catalog.all
|
7
|
+
Catalog.all.each { |catalog| assert_kind_of Catalog, catalog }
|
9
8
|
end
|
10
9
|
end
|