effective_test_bot 1.4.1 → 1.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ecb9543af4e0bd72faee20be2233b2959cb873c753d5794dbed20ed80f22dcac
4
- data.tar.gz: f1de887dec832118d027b5ba054fad22e99b996eafe83087423e0549be2c81a9
3
+ metadata.gz: fe20c3a1007694fe001102d87303c6cf64638f3272e18096fd165f0f27468c31
4
+ data.tar.gz: 20bc8e1a9a6e0d9a5137c8a94b7883472199613aff1f79b078160def328145a8
5
5
  SHA512:
6
- metadata.gz: d8db29bec0bbb6373b0f66dded5fbd3c6bb564cc75dad1e03a1920c980fb42646b90cf137222ba2c62f7896c0721ed98565eb4a3a5a4f39d0ddfdad5673d3dba
7
- data.tar.gz: 9e4877c33b1903604dfa88b69455a71f699967658bb4d97a224b3d4607dbeb22380322160096e118a352d5df9e69dec4f2d65c0ae35b977b1b2b73a9ca245278
6
+ metadata.gz: 16e2aa536bbd2343c6bc013cb1c88ce51e4b1837f70666bbfc5b93c719448d4dab1b633a427b58d3f244c784dc91081ab86e12c7617ab0c5f42a7a806ca1130b
7
+ data.tar.gz: 64dec9d62a92038796e7c6404e230cdf81ff5f6526b3a70b58d56273fdff3a03339288503d0247a10e7edbf7fed9a9ae11c90ee3ee1c68cc5fbfba0f6cb4e0a1
@@ -1,3 +1,3 @@
1
1
  module EffectiveTestBot
2
- VERSION = '1.4.1'.freeze
2
+ VERSION = '1.4.2'.freeze
3
3
  end
@@ -77,6 +77,12 @@ module EffectiveTestBotTestHelper
77
77
  within_first("div.tab-pane##{name.parameterize}") { yield }
78
78
  end
79
79
 
80
+ def within_datatable_new_form(&block)
81
+ click_on 'New'
82
+ within_first('.col-inline-form') { yield }
83
+ end
84
+ alias_method :within_datatables_new_form, :within_datatable_new_form
85
+
80
86
  def with_time_travel(date, &block)
81
87
  Timecop.travel(date)
82
88
  retval = yield
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.4.1
4
+ version: 1.4.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-09-06 00:00:00.000000000 Z
11
+ date: 2023-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails