spreewald 4.1.1 → 4.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test.yml +0 -5
  3. data/CHANGELOG.md +16 -0
  4. data/Gemfile.lock +3 -3
  5. data/Gemfile.ruby266.lock +59 -42
  6. data/Gemfile.ruby300.lock +37 -53
  7. data/README.md +10 -19
  8. data/Rakefile +5 -11
  9. data/examples/paths.rb +7 -0
  10. data/features/binary.feature +12 -8
  11. data/lib/spreewald/development_steps.rb +5 -5
  12. data/lib/spreewald/email_steps.rb +4 -18
  13. data/lib/spreewald/web_steps.rb +53 -50
  14. data/lib/spreewald.rb +1 -0
  15. data/lib/spreewald_support/field_errors.rb +56 -0
  16. data/lib/spreewald_support/version.rb +1 -1
  17. data/lib/steps/follow_the_link.rb +63 -0
  18. data/lib/steps/show_me_the_mails.rb +20 -0
  19. data/spec/steps/follow_the_link_spec.rb +81 -0
  20. data/spec/steps/show_me_the_mails_spec.rb +96 -0
  21. data/support/step_definition.rb +11 -0
  22. data/support/step_manager.rb +1 -1
  23. data/tests/rails-6_capybara-3/Gemfile.lock +1 -1
  24. data/tests/shared/app/controllers/forms_controller.rb +8 -2
  25. data/tests/shared/app/controllers/static_pages_controller.rb +3 -0
  26. data/tests/shared/app/views/forms/invalid_bootstrap3_form.html.haml +16 -0
  27. data/tests/shared/app/views/forms/invalid_bootstrap4_form.html.haml +18 -0
  28. data/tests/shared/app/views/forms/{invalid_form.html.haml → invalid_rails_form.html.haml} +0 -0
  29. data/tests/shared/app/views/static_pages/should_see.haml +7 -0
  30. data/tests/shared/config/routes.rb +4 -1
  31. data/tests/shared/features/shared/iframe_steps.feature +1 -2
  32. data/tests/shared/features/shared/web_steps.feature +47 -15
  33. metadata +15 -112
  34. data/Gemfile.ruby245 +0 -10
  35. data/Gemfile.ruby245.lock +0 -73
  36. data/tests/rails-4_capybara-2/Gemfile +0 -24
  37. data/tests/rails-4_capybara-2/Gemfile.lock +0 -230
  38. data/tests/rails-4_capybara-2/README.rdoc +0 -28
  39. data/tests/rails-4_capybara-2/Rakefile +0 -6
  40. data/tests/rails-4_capybara-2/app +0 -1
  41. data/tests/rails-4_capybara-2/bin/bundle +0 -3
  42. data/tests/rails-4_capybara-2/bin/rails +0 -4
  43. data/tests/rails-4_capybara-2/bin/rake +0 -4
  44. data/tests/rails-4_capybara-2/bin/setup +0 -29
  45. data/tests/rails-4_capybara-2/config/application.rb +0 -35
  46. data/tests/rails-4_capybara-2/config/boot.rb +0 -3
  47. data/tests/rails-4_capybara-2/config/cucumber.yml +0 -8
  48. data/tests/rails-4_capybara-2/config/database.yml +0 -18
  49. data/tests/rails-4_capybara-2/config/environment.rb +0 -5
  50. data/tests/rails-4_capybara-2/config/environments/development.rb +0 -28
  51. data/tests/rails-4_capybara-2/config/environments/test.rb +0 -42
  52. data/tests/rails-4_capybara-2/config/initializers/backtrace_silencers.rb +0 -7
  53. data/tests/rails-4_capybara-2/config/initializers/cookies_serializer.rb +0 -3
  54. data/tests/rails-4_capybara-2/config/initializers/filter_parameter_logging.rb +0 -4
  55. data/tests/rails-4_capybara-2/config/initializers/inflections.rb +0 -16
  56. data/tests/rails-4_capybara-2/config/initializers/mime_types.rb +0 -4
  57. data/tests/rails-4_capybara-2/config/initializers/session_store.rb +0 -3
  58. data/tests/rails-4_capybara-2/config/initializers/silence_deprecation_warnings.rb +0 -11
  59. data/tests/rails-4_capybara-2/config/initializers/to_time_preserves_timezone.rb +0 -10
  60. data/tests/rails-4_capybara-2/config/initializers/wrap_parameters.rb +0 -14
  61. data/tests/rails-4_capybara-2/config/locales/en.yml +0 -23
  62. data/tests/rails-4_capybara-2/config/routes.rb +0 -1
  63. data/tests/rails-4_capybara-2/config/secrets.yml +0 -22
  64. data/tests/rails-4_capybara-2/config.ru +0 -4
  65. data/tests/rails-4_capybara-2/db +0 -1
  66. data/tests/rails-4_capybara-2/features/browser_tab_steps.feature +0 -1
  67. data/tests/rails-4_capybara-2/features/development_steps.feature +0 -1
  68. data/tests/rails-4_capybara-2/features/email_steps.feature +0 -1
  69. data/tests/rails-4_capybara-2/features/iframe_steps.feature +0 -1
  70. data/tests/rails-4_capybara-2/features/overriding.feature +0 -1
  71. data/tests/rails-4_capybara-2/features/session_steps.feature +0 -1
  72. data/tests/rails-4_capybara-2/features/step_definitions/overriding_steps.rb +0 -1
  73. data/tests/rails-4_capybara-2/features/step_definitions/test_steps.rb +0 -1
  74. data/tests/rails-4_capybara-2/features/support/env.rb +0 -66
  75. data/tests/rails-4_capybara-2/features/support/paths.rb +0 -1
  76. data/tests/rails-4_capybara-2/features/support/selectors.rb +0 -1
  77. data/tests/rails-4_capybara-2/features/support/selenium.rb +0 -1
  78. data/tests/rails-4_capybara-2/features/table_steps.feature +0 -1
  79. data/tests/rails-4_capybara-2/features/time_steps.feature +0 -1
  80. data/tests/rails-4_capybara-2/features/web_steps.feature +0 -1
  81. data/tests/rails-4_capybara-2/lib/tasks/cucumber.rake +0 -65
  82. data/tests/rails-4_capybara-2/log/.keep +0 -0
  83. data/tests/rails-4_capybara-2/public/404.html +0 -67
  84. data/tests/rails-4_capybara-2/public/422.html +0 -67
  85. data/tests/rails-4_capybara-2/public/500.html +0 -66
  86. data/tests/rails-4_capybara-2/public/favicon.ico +0 -0
  87. data/tests/rails-4_capybara-2/public/fixture_files +0 -1
  88. data/tests/rails-4_capybara-2/script/cucumber +0 -10
@@ -1,67 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>The change you wanted was rejected (422)</title>
5
- <meta name="viewport" content="width=device-width,initial-scale=1">
6
- <style>
7
- body {
8
- background-color: #EFEFEF;
9
- color: #2E2F30;
10
- text-align: center;
11
- font-family: arial, sans-serif;
12
- margin: 0;
13
- }
14
-
15
- div.dialog {
16
- width: 95%;
17
- max-width: 33em;
18
- margin: 4em auto 0;
19
- }
20
-
21
- div.dialog > div {
22
- border: 1px solid #CCC;
23
- border-right-color: #999;
24
- border-left-color: #999;
25
- border-bottom-color: #BBB;
26
- border-top: #B00100 solid 4px;
27
- border-top-left-radius: 9px;
28
- border-top-right-radius: 9px;
29
- background-color: white;
30
- padding: 7px 12% 0;
31
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
- }
33
-
34
- h1 {
35
- font-size: 100%;
36
- color: #730E15;
37
- line-height: 1.5em;
38
- }
39
-
40
- div.dialog > p {
41
- margin: 0 0 1em;
42
- padding: 1em;
43
- background-color: #F7F7F7;
44
- border: 1px solid #CCC;
45
- border-right-color: #999;
46
- border-left-color: #999;
47
- border-bottom-color: #999;
48
- border-bottom-left-radius: 4px;
49
- border-bottom-right-radius: 4px;
50
- border-top-color: #DADADA;
51
- color: #666;
52
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
- }
54
- </style>
55
- </head>
56
-
57
- <body>
58
- <!-- This file lives in public/422.html -->
59
- <div class="dialog">
60
- <div>
61
- <h1>The change you wanted was rejected.</h1>
62
- <p>Maybe you tried to change something you didn't have access to.</p>
63
- </div>
64
- <p>If you are the application owner check the logs for more information.</p>
65
- </div>
66
- </body>
67
- </html>
@@ -1,66 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>We're sorry, but something went wrong (500)</title>
5
- <meta name="viewport" content="width=device-width,initial-scale=1">
6
- <style>
7
- body {
8
- background-color: #EFEFEF;
9
- color: #2E2F30;
10
- text-align: center;
11
- font-family: arial, sans-serif;
12
- margin: 0;
13
- }
14
-
15
- div.dialog {
16
- width: 95%;
17
- max-width: 33em;
18
- margin: 4em auto 0;
19
- }
20
-
21
- div.dialog > div {
22
- border: 1px solid #CCC;
23
- border-right-color: #999;
24
- border-left-color: #999;
25
- border-bottom-color: #BBB;
26
- border-top: #B00100 solid 4px;
27
- border-top-left-radius: 9px;
28
- border-top-right-radius: 9px;
29
- background-color: white;
30
- padding: 7px 12% 0;
31
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
- }
33
-
34
- h1 {
35
- font-size: 100%;
36
- color: #730E15;
37
- line-height: 1.5em;
38
- }
39
-
40
- div.dialog > p {
41
- margin: 0 0 1em;
42
- padding: 1em;
43
- background-color: #F7F7F7;
44
- border: 1px solid #CCC;
45
- border-right-color: #999;
46
- border-left-color: #999;
47
- border-bottom-color: #999;
48
- border-bottom-left-radius: 4px;
49
- border-bottom-right-radius: 4px;
50
- border-top-color: #DADADA;
51
- color: #666;
52
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
- }
54
- </style>
55
- </head>
56
-
57
- <body>
58
- <!-- This file lives in public/500.html -->
59
- <div class="dialog">
60
- <div>
61
- <h1>We're sorry, but something went wrong.</h1>
62
- </div>
63
- <p>If you are the application owner check the logs for more information.</p>
64
- </div>
65
- </body>
66
- </html>
File without changes
@@ -1 +0,0 @@
1
- ../../shared/public/fixture_files/
@@ -1,10 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- vendored_cucumber_bin = Dir["#{File.dirname(__FILE__)}/../vendor/{gems,plugins}/cucumber*/bin/cucumber"].first
4
- if vendored_cucumber_bin
5
- load File.expand_path(vendored_cucumber_bin)
6
- else
7
- require 'rubygems' unless ENV['NO_RUBYGEMS']
8
- require 'cucumber'
9
- load Cucumber::BINARY
10
- end