shoulda_create 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/lib/shoulda_create/shoulda_create.rb +2 -2
- metadata +7 -9
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
ZTlhZTE4NGYxY2MxMTJkY2E5MTE4MDk3NTNmZWM2OGUyMDdmYTAzMQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
NTY2MDYwYTk1ZWEwNTE1Yjc2ZThjMmQ1ZmE4YzcwNDA5MGU5MWUwYg==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
ZTM4MzQ0YjA1NDcxNTI5OTI2YmU1MGI0ZTU3YzU0ZjkwNWRhZDI2YzZiMmM0
|
10
|
+
NmQwZDVkYzMyMTk0MTk2MDI3M2EzN2E2ODE0ZTczNTFmNmEwMDExMmViNjBh
|
11
|
+
YThkZmVmY2I1NTZjMmNmNTBiMDIzNTgzNjI1MTJlMmE2NWE1Zjk=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
NGYxOTdmYzNiMTY0MmRiYzUyNDFiNTgyNjkyM2EyMDg4NTA3NDg2NzMxNjRj
|
14
|
+
ODUxZDM2ZTE0MDBhOTdlZGNmZDI4OWUwNTNkZjIxZDI4ZGM1MTZjYjk0NDVi
|
15
|
+
YjBmNjJiMjhjYWZkNGIyZmY0MWMwZjk4NDNkZDQ2OWUwZmU0ZGQ=
|
@@ -30,11 +30,11 @@ module ShouldaCreate
|
|
30
30
|
end
|
31
31
|
|
32
32
|
def should_not_create class_name
|
33
|
-
should_change_record_count_of(class_name, 0, 'create')
|
33
|
+
should_change_record_count_of(class_name, 0, 'not create')
|
34
34
|
end
|
35
35
|
|
36
36
|
def should_not_destroy class_name
|
37
|
-
should_change_record_count_of(class_name, 0, 'destroy')
|
37
|
+
should_change_record_count_of(class_name, 0, 'not destroy')
|
38
38
|
end
|
39
39
|
|
40
40
|
def should_create(class_name, options = {})
|
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shoulda_create
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.6
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Bill Kirtley
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-06-17 00:00:00.000000000 Z
|
13
12
|
dependencies: []
|
14
13
|
description: I like using should_create and friends to make assertions about records
|
15
14
|
coming and going in the database. Shoulda did, but doesn't any more. With this,
|
@@ -19,32 +18,31 @@ executables: []
|
|
19
18
|
extensions: []
|
20
19
|
extra_rdoc_files: []
|
21
20
|
files:
|
21
|
+
- README.rdoc
|
22
|
+
- lib/shoulda_create.rb
|
22
23
|
- lib/shoulda_create/shoulda_create.rb
|
23
24
|
- lib/shoulda_create/test_unit.rb
|
24
|
-
- lib/shoulda_create.rb
|
25
|
-
- README.rdoc
|
26
25
|
homepage: http://github.com/cluesque/shoulda_create
|
27
26
|
licenses: []
|
27
|
+
metadata: {}
|
28
28
|
post_install_message:
|
29
29
|
rdoc_options: []
|
30
30
|
require_paths:
|
31
31
|
- lib
|
32
32
|
required_ruby_version: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
33
|
requirements:
|
35
34
|
- - ! '>='
|
36
35
|
- !ruby/object:Gem::Version
|
37
36
|
version: '0'
|
38
37
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
39
|
-
none: false
|
40
38
|
requirements:
|
41
39
|
- - ! '>='
|
42
40
|
- !ruby/object:Gem::Version
|
43
41
|
version: '0'
|
44
42
|
requirements: []
|
45
43
|
rubyforge_project:
|
46
|
-
rubygems_version:
|
44
|
+
rubygems_version: 2.2.0
|
47
45
|
signing_key:
|
48
|
-
specification_version:
|
46
|
+
specification_version: 4
|
49
47
|
summary: Restores should_create functionality to shoulda.
|
50
48
|
test_files: []
|