effective_test_bot 1.5.13 → 1.5.15
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: 76877a6dacd25995e242f754216df6a7f6deeb21a218032b9aa3584dd17a4351
|
4
|
+
data.tar.gz: 9c4be3309919fd0e2f1b73baced0018cbbdaa3bb4ce087222f50d072204f6d3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1936b6b4e2873d5d0b5966c06dc46612a62ee09ea70266fb6f10f0146df322aa9462851658446d7ce211cceefc0b68add064eadfd22bfd84353339b2482134e
|
7
|
+
data.tar.gz: 835cf1ad714fa6bd1e50ad60a87cf61c0f9561a10d008a717d9b5326cdd4fb4e42f730f67f3c0b8d6d59d59527a44befe2e1bbad0ddbe0ecab0a20a0f0ef8f4b
|
@@ -190,7 +190,7 @@ module EffectiveTestBotAssertions
|
|
190
190
|
# assert_assigns :current_user, 'there should a current user'
|
191
191
|
def assert_assigns(key = nil, value = nil, message: nil)
|
192
192
|
if key.present? && value.present?
|
193
|
-
assert_equal value, assigns[key.to_s], message || "(assigns) Expected assigns[#{key}] to equal #{value}. Instead, it was: #{
|
193
|
+
assert_equal value, assigns[key.to_s], message || "(assigns) Expected assigns[#{key}] to equal #{value.inspect}. Instead, it was: #{assigns[key].inspect}"
|
194
194
|
elsif key.present?
|
195
195
|
assert assigns[key.to_s].present?, message || "(assigns) Expected @#{key} to be assigned"
|
196
196
|
else
|
@@ -133,7 +133,7 @@ module EffectiveTestBotFormHelper
|
|
133
133
|
assert_content 'Expiry'
|
134
134
|
find('input[id=ccNum]').set("5555555555554444")
|
135
135
|
find('input[id=ccExpry]').set("12#{Time.zone.now.year - 1999}")
|
136
|
-
find('input[id=ccCvv]').set
|
136
|
+
(find('input[id=ccCvv]') rescue nil).try(:set, "123")
|
137
137
|
find_submit.click
|
138
138
|
end
|
139
139
|
|
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.5.
|
4
|
+
version: 1.5.15
|
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: 2025-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|