pry-test 0.6.4 → 0.6.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pry-test/test_wrapper.rb +14 -0
- data/lib/pry-test/version.rb +1 -1
- data/test/test_wrapper_test.rb +7 -0
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 902de8c8742428c4e1b68d84eef9c70a8c1e9f8f
|
4
|
+
data.tar.gz: 44d6facd4f0c3dcba6ce14a8e9d753dd44bd4160
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6f23ef3de82912a30da92d2e68902fa0ddba56285e6cbc96be01282e7ac2574d9cc9d6b24cf2eb4bdfb3ab9cbc92b5092323c69340a6f60020f3afc7148c56a
|
7
|
+
data.tar.gz: 3fab1d585d844c930f1254368d4a908e9b816fb77a60e4960dab2e856029dcce18801bd7b5be222f914c442c5b7e648c6ae6e3bb447b03b74baa192e77527a8a
|
@@ -72,6 +72,20 @@ module PryTest
|
|
72
72
|
value
|
73
73
|
end
|
74
74
|
|
75
|
+
# A basic refute method to be used within tests.
|
76
|
+
#
|
77
|
+
# @param [Object] value The value to refute.
|
78
|
+
#
|
79
|
+
# @example
|
80
|
+
# class SimpleTest < PryTest::Test
|
81
|
+
# test "common sense" do
|
82
|
+
# refute 0 > 1
|
83
|
+
# end
|
84
|
+
# end
|
85
|
+
def refute(value)
|
86
|
+
assert !value
|
87
|
+
end
|
88
|
+
|
75
89
|
# Indicates if this test has been invoked.
|
76
90
|
# @return [Boolean]
|
77
91
|
def invoked?
|
data/lib/pry-test/version.rb
CHANGED
data/test/test_wrapper_test.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pry-test
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Hopkins
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -175,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
175
175
|
version: '0'
|
176
176
|
requirements: []
|
177
177
|
rubyforge_project:
|
178
|
-
rubygems_version: 2.
|
178
|
+
rubygems_version: 2.6.12
|
179
179
|
signing_key:
|
180
180
|
specification_version: 4
|
181
181
|
summary: A small test framework that supports debugging test failures and errors when
|
@@ -188,4 +188,3 @@ test_files:
|
|
188
188
|
- test/test_helper.rb
|
189
189
|
- test/test_test.rb
|
190
190
|
- test/test_wrapper_test.rb
|
191
|
-
has_rdoc:
|