fedux_org-stdlib 0.0.20 → 0.0.21
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.
@@ -134,4 +134,14 @@ describe Models::FilesystemBasedModel do
|
|
134
134
|
)
|
135
135
|
end
|
136
136
|
end
|
137
|
+
|
138
|
+
context "#init" do
|
139
|
+
it "init should only add unknown instances" do
|
140
|
+
@model.init
|
141
|
+
count1 = @model.all.size
|
142
|
+
@model.init
|
143
|
+
count2 = @model.all.size
|
144
|
+
expect(count2).to eq(count1)
|
145
|
+
end
|
146
|
+
end
|
137
147
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fedux_org-stdlib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.21
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-07-
|
12
|
+
date: 2013-07-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|