effective_test_bot 1.5.0 → 1.5.2
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: e3b245c1e3d790a7705eabf892a9f3d4e27661680f87041c048467f356bc39c2
|
4
|
+
data.tar.gz: 12061d2b15996bd76d0e2765064223a323364d260107ab40999ec8ff434dd0f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19368a5e42953b5e9b054eccf96e0330331bb2408292a919e433ac6c94de06034ef53c7c4560a62f5d9e35680948c12ae0516f9c33a84deb3434b564855713c2
|
7
|
+
data.tar.gz: c3a725d50cfda94e55d575fc59d17bbe8986dc90177e8006981a34e64bcde902e23c1c5fd6f71f3ae57a2b2f2eb561110ab4d50949fa5464cad676d92184689a
|
data/lib/effective_test_bot.rb
CHANGED
@@ -123,9 +123,14 @@ module EffectiveTestBot
|
|
123
123
|
|
124
124
|
EffectiveTestBot.passed_tests[name] = true
|
125
125
|
|
126
|
-
# Make test pass directory
|
127
|
-
|
128
|
-
|
126
|
+
# Make test pass directory. These can inconsistently fail when doing parallel tests
|
127
|
+
unless Dir.exist?("#{Rails.root}/tmp")
|
128
|
+
(Dir.mkdir("#{Rails.root}/tmp") rescue false)
|
129
|
+
end
|
130
|
+
|
131
|
+
unless Dir.exist?("#{Rails.root}/tmp/test_bot")
|
132
|
+
(Dir.mkdir("#{Rails.root}/tmp/test_bot") rescue false)
|
133
|
+
end
|
129
134
|
|
130
135
|
File.open(passed_tests_filename, 'a') { |file| file.puts(name) }
|
131
136
|
end
|
@@ -108,7 +108,7 @@ module EffectiveTestBotFormHelper
|
|
108
108
|
within_frame(moneris_checkout_iframe) do
|
109
109
|
fill_in('Cardholder Name', with: 'Test User')
|
110
110
|
fill_in('Card Number', with: '4242424242424242')
|
111
|
-
fill_in('
|
111
|
+
fill_in('MM/YY', with: "12#{Time.zone.now.year - 1999}")
|
112
112
|
fill_in('CVV', with: '123')
|
113
113
|
find_submit.click
|
114
114
|
end
|
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.2
|
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: 2023-
|
11
|
+
date: 2023-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|