magic_steps 0.0.2 → 0.0.3

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: 5392ba844319f8ebe596737f14671566f19a5778
4
- data.tar.gz: 37a05faa102a645fb47f531cdb58563c0d50b5be
3
+ metadata.gz: a74891f424b8f97e0f192143f34082a332fd7000
4
+ data.tar.gz: f15b89b78e685701b6cbb9959050328895eb1bba
5
5
  SHA512:
6
- metadata.gz: 062822268103039cc6eb50f48a7492bded9ad8c567fe34b6cfccf06dd106abe9939218ee22fd22ae2ac68afd3ff44f532537a7baafa21d528c56646db4cead27
7
- data.tar.gz: f045b7c362bcedcab6bd86c8de226bfe32020f954bc8012ce5ebed3dfa384f238177bf6db3263711dcb70fc2a2e7691dc4e933992909c30bdf20e7effd60d11a
6
+ metadata.gz: 7619e7645936f99319cd04239fc99c9e8c96992641e615ce8f6f4b89c8aedd41e2c4912670733cb181cc64605a86cc484d258c963107fb2d3ed34166395393b5
7
+ data.tar.gz: 9b4e919b974e90011f31645bf0dc5da7ec32ea842ecfd3d15be9023975e1dee8b58f332ba48f1f1d0013392b6546d82ad4d13726ac28c2ec0b9a4d8016a2b992
@@ -57,17 +57,17 @@ end
57
57
 
58
58
 
59
59
  # Element within a Page Section within a Page Section should contain text
60
- Then(/^the \[(\w+)\] \[(\w+)\] \[(\w+)\] should include the text "{(.*)}"$/) do |ref, sub_ref, sub_sub_ref, expected|
60
+ Then(/^(?:the |)\[(\w+)\] \[(\w+)\] \[(\w+)\] should include the text {(.*)}$/) do |ref, sub_ref, sub_sub_ref, expected|
61
61
  expect { @current_page.ref_to_arr(ref).map {|r| r.ref_to_arr(sub_ref)}.map {|sr| sr.ref_to_arr(sub_sub_ref)}.flatten.map {|e| e.attribute('textContent')} }.to eventually all include(expected)
62
62
  end
63
63
 
64
64
  # Element within a Page Section should contain text
65
- Then(/^the \[(\w+)\] \[(\w+)\] should include the text "{(.*)}"$/) do |ref, sub_ref, expected|
65
+ Then(/^(?:the |)\[(\w+)\] \[(\w+)\] should include the text {(.*)}$/) do |ref, sub_ref, expected|
66
66
  expect { @current_page.ref_to_arr(ref).map {|r| r.ref_to_arr(sub_ref)}.flatten.map {|e| e.attribute('textContent')} }.to eventually all include(expected)
67
67
  end
68
68
 
69
69
  # Element should contain text
70
- Then(/^the \[(\w+)\] should include the text "{(.*)}"$/) do |ref, expected|
70
+ Then(/^(?:the |)\[(\w+)\] should include the text {(.*)}$/) do |ref, expected|
71
71
  expect { @current_page.ref_to_arr(ref).map {|e| e.attribute('textContent')} }.to eventually all include(expected)
72
72
  end
73
73
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magic_steps
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Commu