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: 52e783e4acae4ddf7f80ae384470087125677a4f
4
- data.tar.gz: 2d84ef439e116b2466226477e40da2260b663e2a
3
+ metadata.gz: 19cee2cbb368cf8feb39e78425f41db2364a2755
4
+ data.tar.gz: fae299cbf3d803d495d3709b8891d998f17e207b
5
5
  SHA512:
6
- metadata.gz: fa4adbc1b1e5bb382928bdf2dc129e036225fa77d61e6a37fe37ab4fda0ea9068b606c7d1216b9718080ea2e52d778d9ddea5a8ee405f83445cb5c9598aef9a6
7
- data.tar.gz: ed814ba00e52fbb69f2654ccead9c67e7ab43d45ccf4a80cbd6ba6dedaa5df40ac95a4d635f353b3fd7910e0446499f0d6eaacb5dcc05f86e8bfefc219b70a0a
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 %>, :attribute => nil)
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
@@ -1,3 +1,3 @@
1
1
  module JsonVoorhees
2
- VERSION = "0.5.3"
2
+ VERSION = "0.5.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json_voorhees
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cleophus Robinson