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: ed4f956c9998345c3172a9110d3adc62a70fff0118c6a1695b1845332a72ba39
4
- data.tar.gz: f02ef5e7cdc9d3882f108050ef0073e43f627ee625883db6236035e3e8867718
3
+ metadata.gz: e3b245c1e3d790a7705eabf892a9f3d4e27661680f87041c048467f356bc39c2
4
+ data.tar.gz: 12061d2b15996bd76d0e2765064223a323364d260107ab40999ec8ff434dd0f7
5
5
  SHA512:
6
- metadata.gz: 10a75518b78acca15913f32d3ba6ae6aa9a207402909b87896c6a63c601b6fc3181002edefe101835358df4ef39b32fa58a86217da09f5cf3d7d2ccfd52a49e6
7
- data.tar.gz: a061c43d55c69e7db0b975218dc7f1b29c1c96793488e7725721d6474e406923374e92388f503f543137b15ea1564470a93d4e5995084d6d15f0d9befc2108c7
6
+ metadata.gz: 19368a5e42953b5e9b054eccf96e0330331bb2408292a919e433ac6c94de06034ef53c7c4560a62f5d9e35680948c12ae0516f9c33a84deb3434b564855713c2
7
+ data.tar.gz: c3a725d50cfda94e55d575fc59d17bbe8986dc90177e8006981a34e64bcde902e23c1c5fd6f71f3ae57a2b2f2eb561110ab4d50949fa5464cad676d92184689a
@@ -1,3 +1,3 @@
1
1
  module EffectiveTestBot
2
- VERSION = '1.5.0'.freeze
2
+ VERSION = '1.5.2'.freeze
3
3
  end
@@ -123,9 +123,14 @@ module EffectiveTestBot
123
123
 
124
124
  EffectiveTestBot.passed_tests[name] = true
125
125
 
126
- # Make test pass directory
127
- Dir.mkdir("#{Rails.root}/tmp") unless Dir.exist?("#{Rails.root}/tmp")
128
- Dir.mkdir("#{Rails.root}/tmp/test_bot") unless Dir.exist?("#{Rails.root}/tmp/test_bot")
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('MMYY', with: "12#{Time.zone.now.year - 1999}")
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.0
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-10-04 00:00:00.000000000 Z
11
+ date: 2023-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails