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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f117b4980f2edc56c9f3f99922209374ccd851e487fdc8762b80e5f8739069ac
|
|
4
|
+
data.tar.gz: cfe4ea65d642ce4c4f0ef9fc909516cb4f3dc426e4aa654c5ca85a8ec9912152
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
@@ -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.
|
|
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:
|
|
11
|
+
date: 2022-04-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|