cuke_master 0.1.14 → 0.1.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
  SHA1:
3
- metadata.gz: e7f2be9dc4c220e69768871869c3ec1948c7b3ec
4
- data.tar.gz: 6c442ae7769aff596917488ef17124f32c7e824d
3
+ metadata.gz: 6ba5282c27de89cfa50c4db4c2b789b7b9057b40
4
+ data.tar.gz: d794bcc1ca5b5f177fe096db2d23ade38c74c061
5
5
  SHA512:
6
- metadata.gz: 4b85e25bb4bb08f7867c320f42db6febdb3c2664f04fc86b437cd8a888a4ded8f9df542c19ab02736417f5c07cc92e17295d7d7025b9d4c5b184ee842a5746e8
7
- data.tar.gz: 23a6fa93774e74b972febf0ef2ac6bb047208e3728f1f19b6a5391c71e2c42d8276e2493e494af54cdfaa7f69c030c979016d824cfd618eb4ca980b8e9342c91
6
+ metadata.gz: 68c3121b9266a07580f7c335682e10157dfa71388bd9e6729b6e4a0d8cb70e7ff757636f043304cb611fa7e94c3da292bf56999faef1e55b2a7ffef38b575adc
7
+ data.tar.gz: 7f6d233d60ef5e1a518ebed2e84de4b8c3009e1ad7b010afda219acfa45562d00483b487dd4aa6155d53421b9c9f3ab2d64662db3cfd3061177ee7bfe189144e
@@ -376,6 +376,13 @@ Then(/^(.*) if available$/) do |step|
376
376
  end
377
377
  end
378
378
 
379
+ Then(/^(.*) in "([^"]*)" second\(s\)$/) do |step, number_of_seconds|
380
+ current_default_max_wait_time = Capybara.default_max_wait_time
381
+ Capybara.default_max_wait_time = number_of_seconds.to_i
382
+ step(step)
383
+ Capybara.default_max_wait_time = current_default_max_wait_time
384
+ end
385
+
379
386
  # 6.3 within first tag with attribute ... value ...
380
387
  Then(/^(.*) within ([^"]*) "([^"]*)" with attribute "([^"]*)" value \
381
388
  "([^"]*)"/) do |step, position, tag, attribute_name, attribute_value|
@@ -1,3 +1,3 @@
1
1
  module CukeMaster
2
- VERSION = '0.1.14'.freeze
2
+ VERSION = '0.1.15'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cuke_master
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.14
4
+ version: 0.1.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Huynh
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-05-23 00:00:00.000000000 Z
11
+ date: 2018-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler