minitest-spec-rails 4.7.8 → 4.7.9

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: 35f62ec9121838339c8f1d82c0d2287d2582400f
4
- data.tar.gz: 8a5710e1ab6a2654a7dd53246b0e9eb4dd4ce104
3
+ metadata.gz: 27eb41307b44a18e8a9aefa7eb22682fb1f51049
4
+ data.tar.gz: 85b22c11328343b2c12dce99d386b7369a47b7b1
5
5
  SHA512:
6
- metadata.gz: 3cbc982d9453b233a85f7b891128c154c992e564758b47d7daf6533de7122a46435a6fb59ef282200836c1a9d9cb6d8c1273fba844ad8fe8403f62678893b6f5
7
- data.tar.gz: 1701ec40861b3c13a1dba63156da909608152571d8c14f9f8ab1b6d4226f4f5cafc9f36601ee64d709c3e281a816044604ec66c1de7287b4a099833be68a9141
6
+ metadata.gz: 778b0f844adb3ba93a0d3fd5d97bc2420c6d68419fe6306079cf148edf29a0921a0dde1ad662c9ade14b801268aa9b6d9622871c620d6f80d9600ae4c4f7b131
7
+ data.tar.gz: ec3a59946212cfb42b2bc58d7ed37bbb1a4c3adc59830b9d77aab826dad28bd449912b628e2521560e651944d9ed85b0f1deb021befee5e35526fb938f1e605a
@@ -1,3 +1,7 @@
1
+ ## 4.7.9
2
+
3
+ * Fix Rails 3.0 and 3.1 not setting up controller tests. Thanks @hmadison.
4
+
1
5
  ## 4.7.8
2
6
 
3
7
  * Change initialization so that ActiveSupport always comes first. Fixes #63.
@@ -14,7 +14,11 @@ module MiniTestSpecRails
14
14
  private
15
15
 
16
16
  def setup_controller_request_and_response
17
- describing_class.tests described_class
17
+ if Util.rails30? || Util.rails31?
18
+ self.class.tests described_class
19
+ else
20
+ describing_class.tests described_class
21
+ end
18
22
  super
19
23
  end
20
24
 
@@ -1,3 +1,3 @@
1
1
  module MiniTestSpecRails
2
- VERSION = "4.7.8"
2
+ VERSION = "4.7.9"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-spec-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.7.8
4
+ version: 4.7.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Collins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-03 00:00:00.000000000 Z
11
+ date: 2015-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -195,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
195
195
  version: '0'
196
196
  requirements: []
197
197
  rubyforge_project:
198
- rubygems_version: 2.4.2
198
+ rubygems_version: 2.4.8
199
199
  signing_key:
200
200
  specification_version: 4
201
201
  summary: Make Rails Use MiniTest::Spec!