integration-tests-rails 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: be57f4d8d66105663b9c082866bcade277fceec8e89254bfd5fa88d3c6c6ec0d
4
- data.tar.gz: 0c45dd9db327c01f8e93a6c92c327d45153cdc8ca8ba6a172190d809661490e3
3
+ metadata.gz: cbf549fca5bb85c1553616f5682e96415bf075b46295217f38ae7869279900c5
4
+ data.tar.gz: 8e0ddbf263acbedfd3252e707cb257677b7da3cf098a27079e9ebfd363ed55c2
5
5
  SHA512:
6
- metadata.gz: 2aa3bbefef1c3ec24a53c9f6e1cd4c3ac2b0549f408b79aa1de3689503e39b96a7fca47a4ffcf61b6ebf9ff9e0f7d4bbf2fa417d5cb36b4b363e896bb9a1fcd0
7
- data.tar.gz: a46a8871be677914d9faa52703006719a9ca097e8b5bac8503234ffb5752e6ef097c5d3267dd5df7facd30f0fd6479a8d8f8d023db4046b77b2d1400e5be3876
6
+ metadata.gz: f1aac9a592c7b515cb6e5d2392816055adef54f02ff4d6e59b6ad0a0a9cf64b5a7432246342410f1d8dcee5b554787b76e96b6b6f6694f9d131b169b657be8cd
7
+ data.tar.gz: 6a8836dda8b29c52eb2b68f4ed57d2e67db2f79deebd0535520886a4b7ca8446ab2e23bf8991c787c29a12cf6c3f144cff46d9b831d65018ad4b52fe06959743
@@ -37,7 +37,7 @@ module IntegrationTestsRails
37
37
  let(:function) { nil }
38
38
 
39
39
  before do
40
- visit tests_path
40
+ visit '/tests'
41
41
  result
42
42
  end
43
43
  end
@@ -43,11 +43,12 @@ module IntegrationTestsRails
43
43
 
44
44
  def configure_routes
45
45
  app = Rails.application
46
- app.routes.append do
46
+ routes = app.routes
47
+ routes.append do
47
48
  resources :tests, only: :index
48
49
  end
49
- app.routes_reloader.reload!
50
- log 'Routes appended and reloaded.'
50
+ routes.finalize!
51
+ log 'Routes appended and finalized.'
51
52
  end
52
53
 
53
54
  def verbose?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module IntegrationTestsRails
4
- VERSION = '1.0.4'
4
+ VERSION = '1.0.6'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: integration-tests-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tien