json_voorhees 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19cee2cbb368cf8feb39e78425f41db2364a2755
|
4
|
+
data.tar.gz: fae299cbf3d803d495d3709b8891d998f17e207b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 009443163245d1b82f1c2ee15200928ebf016b6f7b3a0f9d03a83b341112bead17c5508a3a844d442ff7c593006d0620f05394260d2848ec911768901b90ab26
|
7
|
+
data.tar.gz: b031d30c5711471bc7fe832a4197df79e536f45707a0688fa75166ddd366681c4b28b53865ff93344f2a51c4be744f90fdcf4626cab4a822a497b5521f9038a3
|
@@ -4,7 +4,7 @@ require "rails_helper"
|
|
4
4
|
RSpec.describe ::<%= module_camel %>::V<%= api_version %>::<%= resource_camel %>, '.<%= pair.split(":")[0] %>', :type => :model do
|
5
5
|
describe "Attributes" do
|
6
6
|
it "does not save when attribute is nil" do
|
7
|
-
#<%= resource_singular %> = FactoryGirl.build(:<%= module_snake %>_<%= resource_singular %>_<%= api_version %>, :
|
7
|
+
#<%= resource_singular %> = FactoryGirl.build(:<%= module_snake %>_<%= resource_singular %>_<%= api_version %>, :<%= pair.split(":")[0] %> => nil)
|
8
8
|
#expect(<%= resource_singular %>.save).to equal(false)
|
9
9
|
end
|
10
10
|
it "does not save when <%= pair %> is ..." do
|