effective_test_bot 1.2.9 → 1.2.10

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: 0f3d9ab3cddaef1ad1ee91873759222b6a546f519e02217a741b4f16179bd1c4
4
- data.tar.gz: 7c633130bc82e1e5fac09a5bf5cf8411dc8a3c3889b5af22c5ef1e8e56a4b4a3
3
+ metadata.gz: f117b4980f2edc56c9f3f99922209374ccd851e487fdc8762b80e5f8739069ac
4
+ data.tar.gz: cfe4ea65d642ce4c4f0ef9fc909516cb4f3dc426e4aa654c5ca85a8ec9912152
5
5
  SHA512:
6
- metadata.gz: 7d17817f9ba053c08e510e1d76630b029d1f62cc02b1d93b9502cb2edf61259f2906ccc90afe0c3791d6b083f98f56b7b0aaa68a170a7dae6d1c9c7f7c9c9490
7
- data.tar.gz: b596f08ecad87dad7a9cc71695352c85cdb6ef7b633a12e142f2123f256c2952fe84e3c92e4dd1519a4bc54ecf704982c60037b44627842e47cf97bedcd3b3a5
6
+ metadata.gz: 8d90692c2a84642e49d8d07beafb398e9be878ed2d6ce0d0c67f8c5fc599b98fd70348ab1fe7b42912754c11516ca012e8b258470584e7a071ab3279428bbe46
7
+ data.tar.gz: 470dcdcdefe2b351f7b76e734bd06b8c9a3b8d59356683c78df84b166fb9f5422feddeab476b0acaac412ea634b6ed210504bfd706e8d3c8819b1a7af1bd58f5
@@ -3,15 +3,15 @@ module EffectiveTestBot
3
3
  engine_name 'effective_test_bot'
4
4
 
5
5
  config.autoload_paths += Dir[
6
- "#{config.root}/test/test_botable/",
7
- "#{config.root}/test/concerns/",
8
- "#{config.root}/test/support/"
6
+ "#{config.root}/test/test_botable",
7
+ "#{config.root}/test/concerns",
8
+ "#{config.root}/test/support"
9
9
  ]
10
10
 
11
11
  config.eager_load_paths += Dir[
12
- "#{config.root}/test/test_botable/",
13
- "#{config.root}/test/concerns/",
14
- "#{config.root}/test/support/"
12
+ "#{config.root}/test/test_botable",
13
+ "#{config.root}/test/concerns",
14
+ "#{config.root}/test/support"
15
15
  ]
16
16
 
17
17
  # Set up our default configuration options.
@@ -1,3 +1,3 @@
1
1
  module EffectiveTestBot
2
- VERSION = '1.2.9'.freeze
2
+ VERSION = '1.2.10'.freeze
3
3
  end
@@ -85,6 +85,7 @@ module EffectiveTestBotAssertions
85
85
  end
86
86
 
87
87
  def assert_page_status(status = 200, message: '(page_status) Expected :status: HTTP status code')
88
+ return if response_code == nil # This doesn't work well in some drivers
88
89
  assert_equal status, response_code, message.sub(':status:', status.to_s)
89
90
  end
90
91
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_test_bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.9
4
+ version: 1.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-20 00:00:00.000000000 Z
11
+ date: 2022-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails