spreewald 1.2.4 → 1.2.5

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: 2780f702f1483604c80c620363d2f6a58440a652
4
- data.tar.gz: ec49dea4e9715a4b656af5787253d1af9bb295d4
3
+ metadata.gz: be18d037a57f9ebb972b0551c8c7d7d296322b6a
4
+ data.tar.gz: 4bb64d1163669c50756b84a79d813728b0fb48eb
5
5
  SHA512:
6
- metadata.gz: af248e78f3d13ddce6960c9f8de7888058f2fad1b7cd2e97b345c26a2038a2f22646c6aa0b64f58c20a59c05798380b3967dd432ce266c30ff4b0a71df9e4068
7
- data.tar.gz: 2528b9e2bae54f53d1a8dddcca156c140e248e8d566d14d32eb49e971ea7b303d1ba00219ce071dc8907b6bd5194481db4e00850adc9037c58db23820111eff8
6
+ metadata.gz: f9bf3ecdb55cc788ee1f47a393e6a6b2a173168981a59de27f9503d8723b099d5b6ef287e36e1e0f526281f3904d9495fcf3b14b23e604e9aa5ddd236f550b39
7
+ data.tar.gz: e4fe24414338ef72b66ca53ec7e1250d9f8a53658a77fc406bd733f707fa168b182c6dcef6faf49adf265b9acdd0d28c09aaa34a978214248ea8a5f48524d965
@@ -41,8 +41,8 @@ module TableStepsHelper
41
41
  @best_rows_matched = -1
42
42
  options = args.extract_options!
43
43
  expected_table = args.first
44
- skipped_rows = []
45
44
  tables.any? do |table|
45
+ skipped_rows = []
46
46
  rows_matched = 0
47
47
  match = expected_table.all? do |expected_row|
48
48
  if @best_rows_matched < rows_matched
@@ -439,7 +439,7 @@ end
439
439
  # Checks that an element is actually present and hidden, also considering styles.
440
440
  # Within a selenium test, the browser is asked whether the element is really hidden.
441
441
  # In a non-selenium test, we only check for `.hidden`, `.invisible` or `style: display:none`
442
- Then /^(the tag )?"([^\"]+)" should be hidden/ do |tag, selector_or_text|
442
+ Then /^(the tag )?"([^\"]+)" should be hidden$/ do |tag, selector_or_text|
443
443
  options = {}
444
444
  tag ? options.store(:selector, selector_or_text) : options.store(:text, selector_or_text)
445
445
 
@@ -1,3 +1,3 @@
1
1
  module Spreewald
2
- VERSION = '1.2.4'
2
+ VERSION = '1.2.5'
3
3
  end
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../..
3
3
  specs:
4
- spreewald (1.2.3)
4
+ spreewald (1.2.4)
5
5
  capybara
6
6
  cucumber
7
7
  cucumber-rails
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../../..
3
3
  specs:
4
- spreewald (1.2.3)
4
+ spreewald (1.2.5)
5
5
  capybara
6
6
  cucumber
7
7
  cucumber-rails
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../../..
3
3
  specs:
4
- spreewald (1.2.3)
4
+ spreewald (1.2.5)
5
5
  capybara
6
6
  cucumber
7
7
  cucumber-rails
@@ -1,3 +1,13 @@
1
+ %table.other-table
2
+ %tr
3
+ %th something
4
+ %th completely
5
+ %th different
6
+ %tr
7
+ %th 1-1
8
+ %th 1-2
9
+ %th 1-3
10
+
1
11
  %table
2
12
  %tr
3
13
  %th 1-1
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spreewald
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 1.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Kraze
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-03 00:00:00.000000000 Z
11
+ date: 2015-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber-rails
@@ -177,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
177
177
  version: '0'
178
178
  requirements: []
179
179
  rubyforge_project:
180
- rubygems_version: 2.4.3
180
+ rubygems_version: 2.2.2
181
181
  signing_key:
182
182
  specification_version: 4
183
183
  summary: Collection of useful cucumber steps.