minitest-given 3.6.0 → 3.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -1
- data/lib/minitest-given.rb +1 -1
- data/lib/minitest/given.rb +15 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa21ad961fcb26d8049ba62734d6026114d9f3f4
|
4
|
+
data.tar.gz: 3e082bc1ec7468b205c204384315c7da845fa03c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6819cb252f5bd2a2cefa76e931958f200964db3e799096ed71ee07a5e5eec54e337536de5b4aec86eacdd9cd8cd033d739ab7813daeb83c7e56c2d3591532baa
|
7
|
+
data.tar.gz: bb328c179e705ff0a9f5aa53aee0be38087503cd65ae11a246c6a99bbdf8a2578d538d376a2b327aa653fc5892bc40f217b247da69bc6e0b908b6789c5bd626d
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
| :----: |
|
5
5
|
| [![Master Build Status](https://secure.travis-ci.org/rspec-given/rspec-given.png?branch=master)](https://travis-ci.org/rspec-given/rspec-given) |
|
6
6
|
|
7
|
-
Covering rspec-given, minitest-given, and given-core, version 3.
|
7
|
+
Covering rspec-given, minitest-given, and given-core, version 3.7.0.
|
8
8
|
|
9
9
|
rspec-given and minitest-given are extensions to your favorite testing
|
10
10
|
framework to allow Given/When/Then notation when writing specs.
|
@@ -870,6 +870,10 @@ License. See the MIT-LICENSE file in the source distribution.
|
|
870
870
|
|
871
871
|
# History
|
872
872
|
|
873
|
+
* Version 3.7.0
|
874
|
+
|
875
|
+
* Add support for Rails tests when using minitest-given (See [#6](https://github.com/rspec-given/rspec-given/pull/6))
|
876
|
+
|
873
877
|
* Version 3.6.0
|
874
878
|
|
875
879
|
* Various fixes for RSpec 3.0 (See [#1](https://github.com/rspec-given/rspec-given/pull/1))
|
data/lib/minitest-given.rb
CHANGED
data/lib/minitest/given.rb
CHANGED
@@ -1 +1,15 @@
|
|
1
|
-
require '
|
1
|
+
require 'minitest/spec'
|
2
|
+
|
3
|
+
if defined?(ActiveSupport::TestCase)
|
4
|
+
Minitest::Spec.tap do |original_spec|
|
5
|
+
Minitest.send(:remove_const, :Spec)
|
6
|
+
Minitest::Spec = ActiveSupport::TestCase
|
7
|
+
|
8
|
+
require 'given/minitest/all'
|
9
|
+
|
10
|
+
Minitest.send(:remove_const, :Spec)
|
11
|
+
Minitest::Spec = original_spec
|
12
|
+
end
|
13
|
+
else
|
14
|
+
require 'given/minitest/all'
|
15
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-given
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jim Weirich
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: given_core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.
|
19
|
+
version: 3.7.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.
|
26
|
+
version: 3.7.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: minitest
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|