spreewald 4.3.4 → 4.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/spreewald/web_steps.rb +4 -4
- data/lib/spreewald_support/version.rb +1 -1
- data/tests/rails-6_capybara-3/Gemfile.lock +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8841cf880bda6d58ed1632050b3c3a28292e476acb6f961922beaa3f842498a3
|
4
|
+
data.tar.gz: 830f0798c36a968717bf946ba987372e78df20c2a1ce4a5e4ec570733256c0b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f4afbf809ee2f17478eea159da1d1659a72e62d45b39bc8e221c4bb0fc94ed5fcad15ca17f4557e3163b2f9d6aa182041ab6aa4f13e1db72d290307a5724e82
|
7
|
+
data.tar.gz: 88b21029149764ec1023134a50e99ced4a51b8fe1e8f4a96ff1681cc4809013d52dcc2e995eba79e315b9626fe36b16bb65bd8da5ca100bbf3213b0ece67932a
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,9 @@ All notable changes to this project will be documented in this file.
|
|
3
3
|
|
4
4
|
This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
5
5
|
|
6
|
+
## 4.3.5
|
7
|
+
- Fix deprecation warning for using keyword arguments as last argument when running with ruby 2.7
|
8
|
+
|
6
9
|
## 4.3.4
|
7
10
|
- Fix "undefined method `build_rb_world_factory` for nil:NilClass" error when running tests on a real project'
|
8
11
|
- The field error class couldn't be required in certain circumstances and so the specs failed
|
data/lib/spreewald/web_steps.rb
CHANGED
@@ -486,18 +486,18 @@ end.overridable
|
|
486
486
|
# Checks for the presence of an option in a select
|
487
487
|
Then /^"([^"]*)" should( not)? be an option for "([^"]*)"$/ do |value, negate, field|
|
488
488
|
finder_arguments = if Spreewald::Comparison.compare_versions(Capybara::VERSION, :<, "2.12")
|
489
|
-
|
489
|
+
{ text: value }
|
490
490
|
else
|
491
|
-
|
491
|
+
{ exact_text: value }
|
492
492
|
end
|
493
493
|
patiently do
|
494
494
|
if negate
|
495
495
|
begin
|
496
|
-
expect(find_with_disabled(:field, field)).to have_no_css(
|
496
|
+
expect(find_with_disabled(:field, field)).to have_no_css('option', **finder_arguments)
|
497
497
|
rescue Capybara::ElementNotFound
|
498
498
|
end
|
499
499
|
else
|
500
|
-
expect(find_with_disabled(:field, field)).to have_css(
|
500
|
+
expect(find_with_disabled(:field, field)).to have_css('option', **finder_arguments)
|
501
501
|
end
|
502
502
|
end
|
503
503
|
end.overridable
|
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: 4.3.
|
4
|
+
version: 4.3.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:
|
11
|
+
date: 2022-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|