cucumber_steps 0.0.1 → 0.0.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
  SHA1:
3
- metadata.gz: 45beaf5b6ca6bd6506e2ca36e6a581c239617fe4
4
- data.tar.gz: a4737c0e677888d5187695011019fc9950c3579b
3
+ metadata.gz: 4efc35587812f06bdbf4d9bd034b8d2faafd1ab3
4
+ data.tar.gz: fb74e0882da5e087429e9d00a158d8580f6c5ff4
5
5
  SHA512:
6
- metadata.gz: 82bc10db105114a1cbaa1533c23bac2a4dd927a94e186c25b4bb7cb8cdaae9714ea8e31b21beb9db86b7c927ba1997bc69408457fee2c417b9f14ad176ac0448
7
- data.tar.gz: 51df69ea1ef561d2ec2f04ee6fdf15d946e084b83acdb22fbfe8fd8b5350c80a53d4e7cf44ab9a715b1f55055bd1593c232d58a95754d8051e9a5a3da32fa552
6
+ metadata.gz: d265af2fc6b9fe720c7c50c564147b357908c1d0946746dc051776b4895a0aa704d7296ca6e156d9b822f85cdfcc28cdffb153817fac094d93290b2bfc7ee7dd
7
+ data.tar.gz: a49837581a26a349d8353fcec7efc0304fdde195d6546b23a613cbb767a86680fb66a77d7d1d0b9314df6fc2c3950f5207d302a5800aa5cffdcd787c57fedc5d
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
@@ -13,9 +13,14 @@ end
13
13
 
14
14
  ].each do |special_key|
15
15
 
16
- And /^I hit #{special_key.to_s.inspect} to the browser$/ do
17
- browser.send_keys(:enter)
16
+ And /^I hit #{special_key.to_s} for the browser$/i do
17
+ browser.send_keys(special_key)
18
+ end
19
+
20
+ And /^I hit #{special_key.to_s} for the browser (\d+) times$/i do |number_of_times|
21
+ number_of_times.to_i { browser.send_keys(special_key) }
18
22
  end
19
23
 
20
24
  end
21
25
 
26
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cucumber_steps
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Luzsi