spreewald 1.12.3 → 1.12.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c9e7da11d01d3fec20fe5e70ed33127ed752aae6
4
- data.tar.gz: 693f33da1acd44abb3770414bd21058a2a3be7b2
3
+ metadata.gz: 5a2a3542b9623d1cfab0efd11ae9d0fcc78a2c76
4
+ data.tar.gz: c838cd39696ccc1061e0adc09145aac1d8f39843
5
5
  SHA512:
6
- metadata.gz: b291af9c6c82e6dbb67feabb695e8809754a25866224c07912020a8db9e18cb091ae9655f913ee488995b41fff6f3925853484061594697042a9d4ebb1982916
7
- data.tar.gz: f9e5ae09c7505a9a4ab7e68766abce4e641b2e804baa5b557d368ae8778debb7959e5776c81ffc9f8d577b664ee1be3ca7280c61d1b67a642340dd428c36d621
6
+ metadata.gz: bdcde4e768d6262c4d30c25960834681cf733de7a0ba34eede0cfeb80415dba44f8de975146467d23882be5049d1840173b0aded0aed309fb22f21936dfe3be5
7
+ data.tar.gz: d7e426b0f8118943fb25c88665a66d7a9c8421ea3ba16781c54d9d5a330666ebddb630746a2adf01dce101e2fb422c2587f204b7152e390e275acae9c330d437
@@ -3,6 +3,8 @@ 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
+ ## 1.12.4
7
+ The word "within" can now be used in arguments for other steps without causing errors (Issue #53)
6
8
 
7
9
  ## 1.12.3
8
10
  Prevent wall of warnings when `Then console` is used multiple times in on test run ([issue](https://github.com/makandra/spreewald/issues/80))
@@ -52,14 +52,14 @@ When /^(.*) within (.*[^:])$/ do |nested_step, parent|
52
52
  patiently do
53
53
  with_scope(parent) { step(nested_step) }
54
54
  end
55
- end.overridable(:priority => 10)
55
+ end.overridable(:priority => -1)
56
56
 
57
57
  # nodoc
58
58
  When /^(.*) within (.*[^:]):$/ do |nested_step, parent, table_or_string|
59
59
  patiently do
60
60
  with_scope(parent) { step("#{nested_step}:", table_or_string) }
61
61
  end
62
- end.overridable(:priority => 10)
62
+ end.overridable(:priority => -1)
63
63
 
64
64
  Given /^(?:|I )am on (.+)$/ do |page_name|
65
65
  visit _path_to(page_name)
@@ -1,3 +1,3 @@
1
1
  module Spreewald
2
- VERSION = '1.12.3'
2
+ VERSION = '1.12.4'
3
3
  end
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../..
3
3
  specs:
4
- spreewald (1.12.2)
4
+ spreewald (1.12.4)
5
5
  cucumber
6
6
  cucumber_priority (>= 0.3.0)
7
7
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../..
3
3
  specs:
4
- spreewald (1.12.2)
4
+ spreewald (1.12.4)
5
5
  cucumber
6
6
  cucumber_priority (>= 0.3.0)
7
7
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../..
3
3
  specs:
4
- spreewald (1.12.2)
4
+ spreewald (1.12.4)
5
5
  cucumber
6
6
  cucumber_priority (>= 0.3.0)
7
7
 
@@ -151,6 +151,11 @@ Feature: Web steps
151
151
  Then I should see "All" within the table row containing "Admin"
152
152
 
153
153
 
154
+ Scenario: the /^(.*) within (.*[^:])$/ step should not be invoked when the word "within" is used in an argument for another step
155
+ When I go to "/static_pages/within"
156
+ Then I should see "He lives within a few miles of Augsburg"
157
+
158
+
154
159
  Scenario: /^I perform basic authentication as "([^\"]*)\/([^\"]*)" and go to (.*)$/
155
160
  When I go to "/authenticated/page"
156
161
  Then I should see "Access denied"
@@ -14,3 +14,4 @@
14
14
  %td Admin
15
15
  %td All
16
16
 
17
+ He lives within a few miles of Augsburg.
@@ -151,6 +151,11 @@ Feature: Web steps
151
151
  Then I should see "All" within the table row containing "Admin"
152
152
 
153
153
 
154
+ Scenario: the /^(.*) within (.*[^:])$/ step should not be invoked when the word "within" is used in an argument for another step
155
+ When I go to "/static_pages/within"
156
+ Then I should see "He lives within a few miles of Augsburg"
157
+
158
+
154
159
  Scenario: /^I perform basic authentication as "([^\"]*)\/([^\"]*)" and go to (.*)$/
155
160
  When I go to "/authenticated/page"
156
161
  Then I should see "Access denied"
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.12.3
4
+ version: 1.12.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Kraze
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-26 00:00:00.000000000 Z
11
+ date: 2019-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber