minitest-extra-matchers 0.0.3 → 0.0.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: ffb38be769c41c79b734fe822ddda75cb1f8b556
|
4
|
+
data.tar.gz: 94b4038395f32dc70d5716b3f58d5a48c2898097
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07db117c44464061d9a3c7276af61ffbe2144916ee4639ea40be94cd6de7ac37fbee8918671392a9253d76f8e4619ee0f66b39635ea961441d3bfd22894abaf8
|
7
|
+
data.tar.gz: 6ba63e7efafc82ad57677cc8f2c1ab6405fde76fdd6b21c8bfe1d076e8aa25186f602358bc0e1668e65781077b1ae1d7ffa202e5109132556391f277d5a9c547
|
@@ -0,0 +1,23 @@
|
|
1
|
+
module Minitest
|
2
|
+
module Extra
|
3
|
+
module Matchers
|
4
|
+
module Pending
|
5
|
+
def self.included(base)
|
6
|
+
base.extend ClassMethods
|
7
|
+
base.class_eval do
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
def pending
|
12
|
+
skip('Not yet implemented...')
|
13
|
+
end
|
14
|
+
|
15
|
+
module ClassMethods
|
16
|
+
def pending
|
17
|
+
it { pending }
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -15,10 +15,6 @@ module Minitest
|
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
18
|
-
def pending
|
19
|
-
skip('Not yet implemented...')
|
20
|
-
end
|
21
|
-
|
22
18
|
module ClassMethods
|
23
19
|
def subject(name = nil, &block)
|
24
20
|
if name
|
@@ -32,10 +28,6 @@ module Minitest
|
|
32
28
|
def its(name, &block)
|
33
29
|
it { subject.send(name).instance_eval(&block) }
|
34
30
|
end
|
35
|
-
|
36
|
-
def pending
|
37
|
-
it { pending }
|
38
|
-
end
|
39
31
|
end
|
40
32
|
end
|
41
33
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-extra-matchers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "Łukasz Niemier"
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|
@@ -67,6 +67,7 @@ files:
|
|
67
67
|
- README.md
|
68
68
|
- Rakefile
|
69
69
|
- lib/minitest/extra/matchers.rb
|
70
|
+
- lib/minitest/extra/matchers/pending.rb
|
70
71
|
- lib/minitest/extra/matchers/subject.rb
|
71
72
|
- lib/minitest/extra/matchers/version.rb
|
72
73
|
- minitest-extra-matchers.gemspec
|
@@ -90,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
90
91
|
version: '0'
|
91
92
|
requirements: []
|
92
93
|
rubyforge_project:
|
93
|
-
rubygems_version: 2.2.
|
94
|
+
rubygems_version: 2.2.2
|
94
95
|
signing_key:
|
95
96
|
specification_version: 4
|
96
97
|
summary: Extra matchers for MiniTest::Spec that simplify specs
|