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 +4 -4
- data/lib/spreewald/table_steps.rb +1 -1
- data/lib/spreewald/web_steps.rb +1 -1
- data/lib/spreewald_support/version.rb +1 -1
- data/tests/rails-2.3/Gemfile.lock +1 -1
- data/tests/rails-3.2/capybara-1/Gemfile.lock +1 -1
- data/tests/rails-3.2/capybara-2/Gemfile.lock +1 -1
- data/tests/shared/app/views/tables/table1.html.haml +10 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be18d037a57f9ebb972b0551c8c7d7d296322b6a
|
4
|
+
data.tar.gz: 4bb64d1163669c50756b84a79d813728b0fb48eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/spreewald/web_steps.rb
CHANGED
@@ -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
|
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
|
|
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
|
+
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-
|
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.
|
180
|
+
rubygems_version: 2.2.2
|
181
181
|
signing_key:
|
182
182
|
specification_version: 4
|
183
183
|
summary: Collection of useful cucumber steps.
|