souls 0.9.7 → 0.9.8

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 889a302559758a12cf2318206787f3848ca961cee8505218ff0414c797fd3f48
4
- data.tar.gz: 9cc808cb6af449c3330b6fa67e559875621c3f45ab7268f1c65e3c3d1a8be0ad
3
+ metadata.gz: 6a8efc84721906b20b73fad75d05827e7c2f5a1a0807f73004ef29bd3e0ef9c7
4
+ data.tar.gz: d2b21b116edab2cf8b769ebf59c503f1caf3fa455a6a65dede7576014152e249
5
5
  SHA512:
6
- metadata.gz: b2d55d3e5bee86ae7b31fda1261c0c64be8dc1280bb253de49f5080adf396c378802b11ae07b0da4c08c13e22762850fb63d16c79ecabfa1f1d3c80c30c98805
7
- data.tar.gz: f1f6c88288d458ee6c2125d0b2675dbeee6763300464018f97a55573f83bc53c6633a2e8b0237d19bf70e4ecd7d2290a042121d33261256fc2132bee0519b1e6
6
+ metadata.gz: f7b4c568802ba5da4d843183077e1fc317ab8314bef75d8fa0c6aec00d57204ad27942fd732d0e6f91e2496996dc87ff77a3332b2b0083762d54a28823a2bb3b
7
+ data.tar.gz: 7b99e59bfe3d8a1aeb76d468be9d66d622b81ca03bc682ac83683061accb152e33483fa2541336ca0aa1aa1ec6a55c8da1b98e4f73693809cda1ad72473d5d9d
@@ -612,12 +612,7 @@ module Souls
612
612
  f.write <<~EOS
613
613
  RSpec.describe #{class_name.camelize}, type: :model do
614
614
  it "作成する" do
615
- expect(FactoryBot.build(:#{class_name})).to be_valid
616
- end
617
-
618
- it "同じtitleがあると作成できない" do
619
- FactoryBot.build(:#{class_name}, title: "hey")
620
- expect(FactoryBot.build(:#{class_name}, title: "hey")).to be_valid
615
+ expect(FactoryBot.build(:#{class_name.singularize})).to be_valid
621
616
  end
622
617
  end
623
618
  EOS
@@ -1,3 +1,3 @@
1
1
  module Souls
2
- VERSION = "0.9.7"
2
+ VERSION = "0.9.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: souls
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.7
4
+ version: 0.9.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - POPPIN-FUMI