spreewald 1.10.0 → 1.10.1

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: d8a751dc4f27ffe7e78aa305ab93b13fb5de613f
4
- data.tar.gz: ff96ffe27f8fb67c7f5100e4bec5a41a060210aa
3
+ metadata.gz: e7533e03694cabb2988f26f45fae2eac617d85c0
4
+ data.tar.gz: d58be130d2fc29c0d2a028f44c60cd07449aa764
5
5
  SHA512:
6
- metadata.gz: a8c7f7b5dc1a7c1b6140e8475e26ef72a8a5850c2140302bc7736c9855d6ae71cf79c3627da6f31b76d192df7a6e49888c6e9173945bafba6847cffaaababea6
7
- data.tar.gz: 24c1e6700e16bb24bfcfe65e75adeeccb197a16fbc7c344bfb08d252965eb959cb457eb49b7c74b07b6a10871cdc5ae99e50e421b75a521b8047cfd2249a2697
6
+ metadata.gz: 441e1f0f332851f3526e18e245755ee7d642706067d7a0e30c31938e0426a0da34619cecca4039492c1c1ee3232f23b0831188ca5836aa915ee9021f45040c8a
7
+ data.tar.gz: ade4aca9f9fac8f09e2cb5ab3735b5bde5d0fabdf461768174ced0784d1f21679e751bc3e104513a674dfd98edfc73bb5b934a7019a83ba2b918377706c932e8
data/README.md CHANGED
@@ -83,11 +83,12 @@ Thanks to [cucumber_priority](https://github.com/makandra/cucumber_priority) you
83
83
 
84
84
  Test applications for various Rails versions live in `tests/`.
85
85
 
86
- - Bundle all test apps with `bundle exec rake all:bundle`.
87
- - Run features in all test apps with `bundle exec rake all:features`.
88
- - Run features in all test apps in all rubies with `bundle exec rake all:rubies`.
89
- - Run a single feature by setting the `SINGLE_FEATURE` environment variable.
90
- Example: `SINGLE_FEATURE=web_steps.feature:63 bundle exec rake all:features`
86
+ - Run features in all test apps in all rubies with `rake`, or `rake all:rubies`.
87
+ - If you want, you can do this for your currently active Ruby:
88
+ - Bundle all test apps with `rake all:bundle`.
89
+ - Run features in all test apps with `rake all:features`.
90
+ - Run a single feature by setting the `SINGLE_FEATURE` environment variable.
91
+ Example: `SINGLE_FEATURE=web_steps.feature:63 bundle exec rake all:features`
91
92
 
92
93
  If you would like to contribute:
93
94
 
@@ -291,6 +292,9 @@ deprecation notice. Decide for yourself whether you want to use them:
291
292
  * **When ... within ...**
292
293
 
293
294
  You can append `within [selector]` to any other web step.
295
+ Be aware that within will only look at the first element that matches.
296
+ If this is a problem for you following links, you might want to have a look
297
+ at the 'When I follow "..." inside any "..."'-step.
294
298
 
295
299
  Example:
296
300
 
@@ -462,7 +466,7 @@ deprecation notice. Decide for yourself whether you want to use them:
462
466
  Attention: Doesn't work with Selenium, see https://github.com/jnicklas/capybara#gotchas
463
467
 
464
468
 
465
- * **Then "..." should be selected for "..."**
469
+ * **Then "..." should( not)? be selected for "..."**
466
470
 
467
471
  Checks that a certain option is selected for a text field
468
472
 
data/Rakefile CHANGED
@@ -29,7 +29,7 @@ namespace :all do
29
29
  task :features do
30
30
  success = true
31
31
  for_each_directory_of('tests/**/Rakefile') do |directory|
32
- success &= Bundler.clean_system("cd #{directory} && cuc")
32
+ success &= system("ruby -v && cd #{directory} && cuc")
33
33
  end
34
34
  fail "Tests failed" unless success
35
35
  end
@@ -53,9 +53,7 @@ namespace :all do
53
53
  desc 'Bundle all test apps'
54
54
  task :bundle do
55
55
  for_each_directory_of('tests/**/Gemfile') do |directory|
56
- Bundler.with_clean_env do
57
- system("cd #{directory} && bundle install && gem install geordi")
58
- end
56
+ system("cd #{directory} && bundle install && gem install geordi")
59
57
  end
60
58
  end
61
59
 
@@ -34,6 +34,9 @@ require 'cgi'
34
34
 
35
35
 
36
36
  # You can append `within [selector]` to any other web step.
37
+ # Be aware that within will only look at the first element that matches.
38
+ # If this is a problem for you following links, you might want to have a look
39
+ # at the 'When I follow "..." inside any "..."'-step.
37
40
  #
38
41
  # Example:
39
42
  #
@@ -347,7 +350,7 @@ end.overridable
347
350
  #
348
351
  # Attention: Doesn't work with Selenium, see https://github.com/jnicklas/capybara#gotchas
349
352
  Then /^I should get a download with filename "([^\"]*)"$/ do |filename|
350
- page.response_headers['Content-Disposition'].should =~ /filename="#{filename}"$/
353
+ page.response_headers['Content-Disposition'].should =~ /filename="#{Regexp.escape(filename)}"$/
351
354
  end.overridable
352
355
 
353
356
  # Checks that a certain option is selected for a text field
@@ -1,3 +1,3 @@
1
1
  module Spreewald
2
- VERSION = '1.10.0'
2
+ VERSION = '1.10.1'
3
3
  end
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../..
3
3
  specs:
4
- spreewald (1.9.3)
4
+ spreewald (1.10.1)
5
5
  cucumber
6
6
  cucumber_priority
7
7
 
@@ -36,8 +36,7 @@ GEM
36
36
  term-ansicolor (>= 1.0.6)
37
37
  cucumber-rails (0.3.2)
38
38
  cucumber (>= 0.8.0)
39
- cucumber_priority (0.1.2)
40
- activesupport
39
+ cucumber_priority (0.2.0)
41
40
  cucumber
42
41
  database_cleaner (1.0.1)
43
42
  diff-lcs (1.2.4)
@@ -94,4 +93,4 @@ DEPENDENCIES
94
93
  sqlite3
95
94
 
96
95
  BUNDLED WITH
97
- 1.15.1
96
+ 1.16.0
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../../..
3
3
  specs:
4
- spreewald (1.9.3)
4
+ spreewald (1.10.1)
5
5
  cucumber
6
6
  cucumber_priority
7
7
 
@@ -57,8 +57,7 @@ GEM
57
57
  cucumber (>= 1.2.0)
58
58
  nokogiri (>= 1.5.0)
59
59
  rails (>= 3.0.0)
60
- cucumber_priority (0.1.2)
61
- activesupport
60
+ cucumber_priority (0.2.0)
62
61
  cucumber
63
62
  database_cleaner (1.0.1)
64
63
  diff-lcs (1.3)
@@ -159,4 +158,4 @@ DEPENDENCIES
159
158
  sqlite3
160
159
 
161
160
  BUNDLED WITH
162
- 1.15.3
161
+ 1.16.0
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../../..
3
3
  specs:
4
- spreewald (1.9.3)
4
+ spreewald (1.10.1)
5
5
  cucumber
6
6
  cucumber_priority
7
7
 
@@ -58,8 +58,7 @@ GEM
58
58
  cucumber (>= 1.2.0)
59
59
  nokogiri (>= 1.5.0)
60
60
  rails (>= 3.0.0)
61
- cucumber_priority (0.1.2)
62
- activesupport
61
+ cucumber_priority (0.2.0)
63
62
  cucumber
64
63
  database_cleaner (1.0.1)
65
64
  diff-lcs (1.3)
@@ -174,4 +173,4 @@ DEPENDENCIES
174
173
  sqlite3
175
174
 
176
175
  BUNDLED WITH
177
- 1.15.4
176
+ 1.16.0
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.10.0
4
+ version: 1.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Kraze
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-11 00:00:00.000000000 Z
11
+ date: 2017-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber