rspec-controller-matchers 0.0.2 → 0.0.3
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: 4ab4f0c39d12cf76fb4fe185c758944d07004652
|
4
|
+
data.tar.gz: f49710da6ad6984136553b7bddb6fc8ca6b8fbc2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 492bf9d73e00c44ef7e110eb4462b2ddb81adc342b8dd567976a2a242aa20dd3c6c516507f2909e42b508f4fa80e2f3a1e6a1a5cdbb48005bd9fbb94deaf8830
|
7
|
+
data.tar.gz: 4755890ce0347e4940d5a924633f445f6232a3322fc6a761712ea4b064b394b7fdb43bf27efe74aa51e7571a1cdd002b3f98900dfd29a479631db922c4b343ae
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.3
|
@@ -9,9 +9,12 @@ RSpec::Matchers.define :destroy_record do |record|
|
|
9
9
|
actual.call
|
10
10
|
|
11
11
|
expect(record.class.exists?(id: record.id)).to eq false
|
12
|
+
|
12
13
|
if using_service?
|
13
14
|
expect(service_klass).to have_received(:call)
|
14
15
|
end
|
16
|
+
|
17
|
+
true
|
15
18
|
end
|
16
19
|
|
17
20
|
def using_service(klass)
|
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: rspec-controller-matchers 0.0.
|
5
|
+
# stub: rspec-controller-matchers 0.0.3 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "rspec-controller-matchers".freeze
|
9
|
-
s.version = "0.0.
|
9
|
+
s.version = "0.0.3"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib".freeze]
|