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: 5574c71dde9cc67e51bec9dda1ebe5042e8c4e1f24a77c56184eada72989a081
4
- data.tar.gz: e2ccd01cd9883e04df6885a3688406e6e14e225a3d3b581ec432f354bb3bec31
3
+ metadata.gz: 76877a6dacd25995e242f754216df6a7f6deeb21a218032b9aa3584dd17a4351
4
+ data.tar.gz: 9c4be3309919fd0e2f1b73baced0018cbbdaa3bb4ce087222f50d072204f6d3d
5
5
  SHA512:
6
- metadata.gz: 168828fe6177fc183323eaac87845a6af23ae6ff561548dd4cafa0d37173612c06c21a7f393b9e23def99eb5a7b8e9226e463a4d29760d9d84104733ce81f2e7
7
- data.tar.gz: d42e74d0d921dd03b05a60a58f143d8269fdb6032832f20fb3814c65fd12e247a63fc2ce51efb1562d1c3b569e4f1dc73544563ca775dfb131db62c76fe99fa3
6
+ metadata.gz: b1936b6b4e2873d5d0b5966c06dc46612a62ee09ea70266fb6f10f0146df322aa9462851658446d7ce211cceefc0b68add064eadfd22bfd84353339b2482134e
7
+ data.tar.gz: 835cf1ad714fa6bd1e50ad60a87cf61c0f9561a10d008a717d9b5326cdd4fb4e42f730f67f3c0b8d6d59d59527a44befe2e1bbad0ddbe0ecab0a20a0f0ef8f4b
@@ -1,3 +1,3 @@
1
1
  module EffectiveTestBot
2
- VERSION = '1.5.13'.freeze
2
+ VERSION = '1.5.15'.freeze
3
3
  end
@@ -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: #{value}"
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("123")
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.13
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: 2024-07-10 00:00:00.000000000 Z
11
+ date: 2025-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails