minitest-spec-rails 3.0.3 → 3.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,9 +1,15 @@
1
1
 
2
+ ## v3.0.4
3
+
4
+ * Use class app setter for integration tests.
5
+
6
+
2
7
  ## v3.0.3
3
8
 
4
9
  * Stronger test case organization where we properly setup functional and integraiton tests
5
10
  while also allowing an alternate pure MiniTest::Spec outter file describe block. [Jack Chu]
6
11
 
12
+
7
13
  ## v3.0.2
8
14
 
9
15
  * Remove version deps on minitest since v3 is out. Should work with any v2/3 version.
@@ -26,7 +26,7 @@ end
26
26
 
27
27
  if defined?(ActionDispatch::IntegrationTest)
28
28
  class ActionDispatch::IntegrationTest
29
- before { self.app = Rails.application }
29
+ before { self.class.app = Rails.application }
30
30
  end
31
31
 
32
32
  MiniTest::Spec.register_spec_type /Integration Test$/, ActionDispatch::IntegrationTest
@@ -1,3 +1,3 @@
1
1
  module MiniTestSpecRails
2
- VERSION = "3.0.3"
2
+ VERSION = "3.0.4"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-spec-rails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 3
8
8
  - 0
9
- - 3
10
- version: 3.0.3
9
+ - 4
10
+ version: 3.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ken Collins