spreewald 4.3.5 → 4.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test.yml +1 -1
  3. data/CHANGELOG.md +15 -4
  4. data/README.md +20 -21
  5. data/lib/spreewald/time_steps.rb +9 -1
  6. data/lib/spreewald/web_steps.rb +6 -2
  7. data/lib/spreewald_support/path_selector_fallbacks.rb +19 -1
  8. data/lib/spreewald_support/version.rb +1 -1
  9. data/spreewald.gemspec +1 -0
  10. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/.ruby-version +0 -0
  11. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/Gemfile +1 -1
  12. data/tests/rails-7_capybara-3/Gemfile.lock +310 -0
  13. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/README.md +0 -0
  14. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/Rakefile +0 -0
  15. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/app/controllers +0 -0
  16. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/app/mailers/application_mailer.rb +0 -0
  17. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/app/mailers/spreewald_mailer.rb +0 -0
  18. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/app/models/application_record.rb +0 -0
  19. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/app/views +0 -0
  20. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/bin/bundle +0 -0
  21. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/bin/rails +0 -0
  22. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/bin/rake +0 -0
  23. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/bin/setup +0 -0
  24. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/application.rb +1 -1
  25. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/boot.rb +0 -0
  26. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/cucumber.yml +0 -0
  27. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/database.yml +0 -0
  28. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/environment.rb +0 -0
  29. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/environments/development.rb +0 -0
  30. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/environments/test.rb +0 -0
  31. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/initializers/application_controller_renderer.rb +0 -0
  32. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/initializers/backtrace_silencers.rb +0 -0
  33. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/initializers/content_security_policy.rb +0 -0
  34. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/initializers/cookies_serializer.rb +0 -0
  35. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/initializers/filter_parameter_logging.rb +0 -0
  36. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/initializers/inflections.rb +0 -0
  37. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/initializers/mime_types.rb +0 -0
  38. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/initializers/new_framework_defaults_6_1.rb +0 -0
  39. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/initializers/permissions_policy.rb +0 -0
  40. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/initializers/wrap_parameters.rb +0 -0
  41. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/locales/en.yml +0 -0
  42. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/routes.rb +0 -0
  43. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config.ru +0 -0
  44. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/db +0 -0
  45. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/browser_tab_steps.feature +0 -0
  46. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/development_steps.feature +0 -0
  47. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/email_steps.feature +0 -0
  48. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/iframe_steps.feature +0 -0
  49. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/overriding.feature +0 -0
  50. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/session_steps.feature +0 -0
  51. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/step_definitions/.gitkeep +0 -0
  52. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/step_definitions/field_error_steps.rb +0 -0
  53. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/step_definitions/overriding_steps.rb +0 -0
  54. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/step_definitions/test_steps.rb +0 -0
  55. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/support/env.rb +0 -0
  56. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/support/paths.rb +0 -0
  57. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/support/selectors.rb +0 -0
  58. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/support/selenium.rb +0 -0
  59. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/table_steps.feature +0 -0
  60. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/time_steps.feature +0 -0
  61. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/web_steps.feature +0 -0
  62. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/lib/tasks/.keep +0 -0
  63. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/lib/tasks/cucumber.rake +0 -0
  64. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/log/.keep +0 -0
  65. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/public/404.html +0 -0
  66. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/public/422.html +0 -0
  67. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/public/500.html +0 -0
  68. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/public/favicon.ico +0 -0
  69. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/public/fixture_files +0 -0
  70. data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/script/cucumber +0 -0
  71. metadata +126 -125
  72. data/tests/rails-6_capybara-3/Gemfile.lock +0 -298
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8841cf880bda6d58ed1632050b3c3a28292e476acb6f961922beaa3f842498a3
4
- data.tar.gz: 830f0798c36a968717bf946ba987372e78df20c2a1ce4a5e4ec570733256c0b1
3
+ metadata.gz: 892a8b1fc2985989a10ad303aa6be9a65a4ea3542bea9c5d9311fb0f1463b73a
4
+ data.tar.gz: 2031b66e60406bd9205204a6355fc0f745eed30abf3b14095121f9b04290610e
5
5
  SHA512:
6
- metadata.gz: 8f4afbf809ee2f17478eea159da1d1659a72e62d45b39bc8e221c4bb0fc94ed5fcad15ca17f4557e3163b2f9d6aa182041ab6aa4f13e1db72d290307a5724e82
7
- data.tar.gz: 88b21029149764ec1023134a50e99ced4a51b8fe1e8f4a96ff1681cc4809013d52dcc2e995eba79e315b9626fe36b16bb65bd8da5ca100bbf3213b0ece67932a
6
+ metadata.gz: e7c84b276c5b1cca99a3beac23d656d206ae68cc8f74b17ca3b316b59703249611c226c85d1cc17305faf588e56a1b689d213b916251db4e876c3644c48ee893
7
+ data.tar.gz: a61b5d8dd7bf93dca91ea19a69d77de47ddb79b251bacf4ed37b79b1cab91972ea5c2f995d05f9ccf2d83f5a6f37b36882a14ffba178399380da192495a7ac34
@@ -15,7 +15,7 @@ jobs:
15
15
  matrix:
16
16
  include:
17
17
  - ruby: 3.0.0
18
- gemfile: tests/rails-6_capybara-3/Gemfile
18
+ gemfile: tests/rails-7_capybara-3/Gemfile
19
19
  # Used to run rspec and integration tests for spreewald binary:
20
20
  - ruby: 2.6.6
21
21
  gemfile: Gemfile.ruby266
data/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@ 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.4.1
7
+ - Fix deprecation warning for `ActiveRecord::Base.default_timezone` when running with Rails 7.0 ([#191](https://github.com/makandra/spreewald/issues/191))
8
+ - Fix deprecation warning for using keyword arguments as last argument when running with ruby 2.7 ([#192](https://github.com/makandra/spreewald/issues/192))
9
+
10
+ ## 4.4.0
11
+ - Add support for Rails 7.0
12
+
13
+ ## 4.3.6
14
+ - Use capybara's `make_visible` [option](https://github.com/teamcapybara/capybara/blob/0468de5a810aae75ab9de20447e246c5c35473f0/lib/capybara/node/actions.rb#L279) in step `I attach the file "..." to "..."`
15
+ - This will make CSS-Hacks like setting the opacity in tests obsolete
16
+
6
17
  ## 4.3.5
7
18
  - Fix deprecation warning for using keyword arguments as last argument when running with ruby 2.7
8
19
 
@@ -29,8 +40,8 @@ did not find the correct elements
29
40
  - The search via `spreewald some query here` includes steps with optional negation now.
30
41
 
31
42
  ## 4.2.2
32
- - Fixes the "Show me the email" step (#171)
33
- - Fixes the "I follow the link in the email" step. (#172, #173)
43
+ - Fixes the "Show me the email" step ([#171](https://github.com/makandra/spreewald/issues/171))
44
+ - Fixes the "I follow the link in the email" step. ([#172](https://github.com/makandra/spreewald/issues/172), [#173](https://github.com/makandra/spreewald/issues/173))
34
45
  - It works for emails with and without explicit html parts
35
46
  - There's a better error message if no links are found
36
47
 
@@ -38,7 +49,7 @@ did not find the correct elements
38
49
  - Multiple invocations of console don't raise anymore
39
50
 
40
51
  ## 4.1.1
41
- - The step `I open .. in a new browser tab` is now using the `noopener` option (see issue [#174])
52
+ - The step `I open .. in a new browser tab` is now using the `noopener` option (see issue [#174](https://github.com/makandra/spreewald/issues/174))
42
53
 
43
54
  ## 4.1.0
44
55
 
@@ -214,7 +225,7 @@ The "it should work" step now takes an optional reason.
214
225
  The word "within" can now be used in arguments for other steps without causing errors ([Issue #53](https://github.com/makandra/spreewald/issues/80))
215
226
 
216
227
  ## 1.12.3
217
- Prevent wall of warnings when `Then console` is used multiple times in on test run ([issue](https://github.com/makandra/spreewald/issues/80))
228
+ Prevent wall of warnings when `Then console` is used multiple times in on test run ([issue #80](https://github.com/makandra/spreewald/issues/80))
218
229
 
219
230
  ## 1.12.2
220
231
  Always check the current driver by its class (see [issue](https://github.com/makandra/spreewald/issues/74))
data/README.md CHANGED
@@ -4,6 +4,10 @@ Spreewald is a collection of useful steps for cucumber. Feel free to fork.
4
4
 
5
5
  You can find a list of all contained steps at the end of this README.
6
6
 
7
+ ## Supported versions
8
+
9
+ Spreewald is currently tested against and Ruby 2.6.6 and 3.0.0 with Rails 7 and Capybara 3.
10
+
7
11
  ## Installation
8
12
 
9
13
  Add this line to your application's Gemfile:
@@ -12,18 +16,7 @@ Add this line to your application's Gemfile:
12
16
 
13
17
  And then execute:
14
18
 
15
- $ bundle
16
-
17
- Or install it yourself as:
18
-
19
- $ gem install spreewald
20
-
21
-
22
- ## Supported versions
23
-
24
- Spreewald is currently tested against and Ruby 2.6.6 with Rails 6 and Capybara 3.
25
-
26
- ## Usage
19
+ $ bundle install
27
20
 
28
21
  Require all Spreewald steps by putting
29
22
 
@@ -32,19 +25,28 @@ Require all Spreewald steps by putting
32
25
  into either your `support/env.rb` or `step_definitions/spreewald_steps.rb`.
33
26
 
34
27
  Steps are grouped into a number of categories. If you only want to use a subset
35
- of Spreewald's steps, you can pick and choose single categories by requiring
36
- single files like this:
28
+ of Spreewald's steps, insead of `require 'spreewald/all_steps'`, you can pick
29
+ and choose single categories by requiring [single files](https://github.com/makandra/spreewald/tree/master/lib/spreewald) like this:
37
30
 
38
31
  require 'spreewald/email_steps'
39
32
  require 'spreewald/web_steps'
40
33
 
41
- Have a look at our [recommended Capybara defaults](#recommended-capybara-defaults) as they impact the behavior of many Spreewald steps.
34
+ After that you are good to go and use the steps [described below](#steps).
35
+
36
+ ### Recommended additional setup
37
+
38
+ We recommend using a `features/support/paths.rb` file in your project to define mappings between verbal phrases and your project's routes. You can then use these phrases in steps like `Then I should be on ...` or `When I go to ...`.
39
+ You can find [an example in this repository](https://github.com/makandra/spreewald/blob/master/examples/paths.rb). Please note that you may have to adapt it depending on the namespaces and other setup of your application's routes.
40
+
41
+ Similarly, you may define a `features/support/paths.rb` file in your project to define mappings of verbal phrases to CSS selectors. You can also find [an example for that in this repository](https://github.com/makandra/spreewald/blob/master/examples/selectors.rb). These mappings can be used with steps like `Then I should( not)? see (an|the) element for ...` or `When I click on the element for ...`.
42
+
43
+ We also suggest to look at our [recommended Capybara defaults](#recommended-capybara-defaults) as they impact the behavior of many Spreewald steps.
42
44
 
43
45
  ## Spreewald binary
44
46
 
45
47
  Spreewald comes with a binary that prints a list of all Cucumber steps from
46
48
  Spreewald _and your project_. It will filter the list by any string you
47
- pass it. Example usage:
49
+ pass it. Example usage (e.g. on a linux shell in the root folder of the project which uses Spreewald):
48
50
 
49
51
  ```bash
50
52
  spreewald # lists all steps
@@ -94,7 +96,7 @@ Capybara.default_normalize_ws = true
94
96
 
95
97
  This will affect all Spreewald steps that are using Capybara's `:text` option.
96
98
 
97
- Furthermore, we recommend setting [Capybara's matching strategy](https://github.com/teamcapybara/capybara/blob/master/README.md#strategy) to `:prefer_exact`. This will positively affect Spreewald steps as it prevents the `Capybara::Ambiguous` error in the edge case when two fields are matching the given name, but one of the matches includes the name only as a substring,
99
+ Furthermore, we recommend setting [Capybara's matching strategy](https://github.com/teamcapybara/capybara/blob/master/README.md#strategy) to `:prefer_exact`. This will positively affect Spreewald steps as it prevents the `Capybara::Ambiguous` error in the edge case when two fields are matching the given name, but one of the matches includes the name only as a substring.
98
100
 
99
101
  ```ruby
100
102
  Capybara.match = :prefer_exact
@@ -119,14 +121,11 @@ Spreewald has different kind of tests:
119
121
 
120
122
  Run all tests for your current ruby version with `rake` or `rake matrix:tests`. To bundle use `rake matrix:install` first.
121
123
 
122
- Please note that you need [geordi](https://github.com/makandra/geordi) to run the integration tests.
123
-
124
-
125
124
  ### If you would like to contribute:
126
125
 
127
126
  - Fork the repository
128
127
  - Push your changes with specs
129
- - Make sure `rake` passes
128
+ - Make sure `rake matrix:tests` passes
130
129
  - Regenerate the "Steps" section of this Readme with `rake update_readme`, if needed
131
130
  - Make a pull request
132
131
 
@@ -22,7 +22,7 @@ if defined?(Timecop) || is_at_least_rails_4_1
22
22
 
23
23
  def use_timezones?
24
24
  active_record_loaded = defined?(ActiveRecord::Base)
25
- (!active_record_loaded || ActiveRecord::Base.default_timezone != :local) && Time.zone
25
+ (!active_record_loaded || default_timezone != :local) && Time.zone
26
26
  end
27
27
 
28
28
  def parse_time(str)
@@ -41,6 +41,14 @@ if defined?(Timecop) || is_at_least_rails_4_1
41
41
  end
42
42
  end
43
43
 
44
+ def default_timezone
45
+ if ActiveRecord.respond_to?(:default_timezone)
46
+ ActiveRecord.default_timezone
47
+ else
48
+ ActiveRecord::Base.default_timezone
49
+ end
50
+ end
51
+
44
52
  if defined?(Timecop)
45
53
  # Emulate ActiveSupport time helper methods with Timecop - don't rename these methods
46
54
  def travel(duration)
@@ -48,7 +48,8 @@ When /^(.*) within (.*[^:])$/ do |nested_step, parent|
48
48
  selector = _selector_for(parent)
49
49
  if selector.is_a?(String) || selector.is_a?(Array) # could also be a Capybara::Node::Element
50
50
  patiently do
51
- expect(page).to have_selector(*selector)
51
+ args, kwargs = deconstruct_selector(selector)
52
+ expect(page).to have_selector(*args, **kwargs)
52
53
  end
53
54
  end
54
55
  patiently do
@@ -160,8 +161,11 @@ end.overridable
160
161
 
161
162
  # Attach a file to a file upload form field
162
163
  When /^(?:|I )attach the file "([^"]*)" to "([^"]*)"$/ do |path, field|
164
+ options = {}
165
+ options[:make_visible] = true if javascript_capable?
166
+
163
167
  patiently do
164
- attach_file(field, File.expand_path(path))
168
+ attach_file(field, File.expand_path(path), options)
165
169
  end
166
170
  end.overridable
167
171
 
@@ -31,7 +31,25 @@ World(PathSelectorFallbacks)
31
31
 
32
32
  module WithinHelpers
33
33
  def with_scope(locator)
34
- locator ? within(*_selector_for(locator)) { yield } : yield
34
+ if locator
35
+ selector = _selector_for(locator)
36
+ args, kwargs = deconstruct_selector(selector)
37
+ within(*args, **kwargs) { yield }
38
+ else
39
+ yield
40
+ end
41
+ end
42
+
43
+ def deconstruct_selector(selector)
44
+ if selector.is_a?(Array)
45
+ if selector[-1].is_a?(Hash) # selector with keyword arguments, e.g. ['.foo', { text: 'bar', visible: :all }]
46
+ [selector[0...-1], **selector[-1]]
47
+ else # xpath selector, e.g. [:xpath, '//header']
48
+ [selector, {}]
49
+ end
50
+ else # String or Capybara::Node::Element
51
+ [selector, {}]
52
+ end
35
53
  end
36
54
  end
37
55
  World(WithinHelpers)
@@ -1,3 +1,3 @@
1
1
  module Spreewald
2
- VERSION = '4.3.5'
2
+ VERSION = '4.4.1'
3
3
  end
data/spreewald.gemspec CHANGED
@@ -9,6 +9,7 @@ Gem::Specification.new do |gem|
9
9
  gem.summary = %q{Collection of useful cucumber steps.}
10
10
  gem.homepage = "https://github.com/makandra/spreewald"
11
11
  gem.license = 'MIT'
12
+ gem.metadata = { 'rubygems_mfa_required' => 'true' }
12
13
 
13
14
  gem.files = `git ls-files`.split($\)
14
15
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
@@ -3,7 +3,7 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3
3
 
4
4
  ruby '3.0.0'
5
5
 
6
- gem 'rails', '~>6.1'
6
+ gem 'rails', '~>7'
7
7
  gem 'sqlite3'
8
8
  gem 'haml-rails'
9
9
  gem 'gemika'
@@ -0,0 +1,310 @@
1
+ PATH
2
+ remote: ../..
3
+ specs:
4
+ spreewald (4.4.0)
5
+ cucumber
6
+ cucumber_priority (>= 0.3.0)
7
+ rspec (>= 2.13.0)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ actioncable (7.0.2.3)
13
+ actionpack (= 7.0.2.3)
14
+ activesupport (= 7.0.2.3)
15
+ nio4r (~> 2.0)
16
+ websocket-driver (>= 0.6.1)
17
+ actionmailbox (7.0.2.3)
18
+ actionpack (= 7.0.2.3)
19
+ activejob (= 7.0.2.3)
20
+ activerecord (= 7.0.2.3)
21
+ activestorage (= 7.0.2.3)
22
+ activesupport (= 7.0.2.3)
23
+ mail (>= 2.7.1)
24
+ net-imap
25
+ net-pop
26
+ net-smtp
27
+ actionmailer (7.0.2.3)
28
+ actionpack (= 7.0.2.3)
29
+ actionview (= 7.0.2.3)
30
+ activejob (= 7.0.2.3)
31
+ activesupport (= 7.0.2.3)
32
+ mail (~> 2.5, >= 2.5.4)
33
+ net-imap
34
+ net-pop
35
+ net-smtp
36
+ rails-dom-testing (~> 2.0)
37
+ actionpack (7.0.2.3)
38
+ actionview (= 7.0.2.3)
39
+ activesupport (= 7.0.2.3)
40
+ rack (~> 2.0, >= 2.2.0)
41
+ rack-test (>= 0.6.3)
42
+ rails-dom-testing (~> 2.0)
43
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
44
+ actiontext (7.0.2.3)
45
+ actionpack (= 7.0.2.3)
46
+ activerecord (= 7.0.2.3)
47
+ activestorage (= 7.0.2.3)
48
+ activesupport (= 7.0.2.3)
49
+ globalid (>= 0.6.0)
50
+ nokogiri (>= 1.8.5)
51
+ actionview (7.0.2.3)
52
+ activesupport (= 7.0.2.3)
53
+ builder (~> 3.1)
54
+ erubi (~> 1.4)
55
+ rails-dom-testing (~> 2.0)
56
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
57
+ activejob (7.0.2.3)
58
+ activesupport (= 7.0.2.3)
59
+ globalid (>= 0.3.6)
60
+ activemodel (7.0.2.3)
61
+ activesupport (= 7.0.2.3)
62
+ activerecord (7.0.2.3)
63
+ activemodel (= 7.0.2.3)
64
+ activesupport (= 7.0.2.3)
65
+ activestorage (7.0.2.3)
66
+ actionpack (= 7.0.2.3)
67
+ activejob (= 7.0.2.3)
68
+ activerecord (= 7.0.2.3)
69
+ activesupport (= 7.0.2.3)
70
+ marcel (~> 1.0)
71
+ mini_mime (>= 1.1.0)
72
+ activesupport (7.0.2.3)
73
+ concurrent-ruby (~> 1.0, >= 1.0.2)
74
+ i18n (>= 1.6, < 2)
75
+ minitest (>= 5.1)
76
+ tzinfo (~> 2.0)
77
+ addressable (2.8.0)
78
+ public_suffix (>= 2.0.2, < 5.0)
79
+ builder (3.2.4)
80
+ byebug (11.1.3)
81
+ capybara (3.36.0)
82
+ addressable
83
+ matrix
84
+ mini_mime (>= 0.1.3)
85
+ nokogiri (~> 1.8)
86
+ rack (>= 1.6.0)
87
+ rack-test (>= 0.6.3)
88
+ regexp_parser (>= 1.5, < 3.0)
89
+ xpath (~> 3.2)
90
+ capybara-screenshot (1.0.25)
91
+ capybara (>= 1.0, < 4)
92
+ launchy
93
+ childprocess (3.0.0)
94
+ coderay (1.1.3)
95
+ concurrent-ruby (1.1.10)
96
+ crass (1.0.6)
97
+ cucumber (7.1.0)
98
+ builder (~> 3.2, >= 3.2.4)
99
+ cucumber-core (~> 10.1, >= 10.1.0)
100
+ cucumber-create-meta (~> 6.0, >= 6.0.1)
101
+ cucumber-cucumber-expressions (~> 14.0, >= 14.0.0)
102
+ cucumber-gherkin (~> 22.0, >= 22.0.0)
103
+ cucumber-html-formatter (~> 17.0, >= 17.0.0)
104
+ cucumber-messages (~> 17.1, >= 17.1.1)
105
+ cucumber-wire (~> 6.2, >= 6.2.0)
106
+ diff-lcs (~> 1.4, >= 1.4.4)
107
+ mime-types (~> 3.3, >= 3.3.1)
108
+ multi_test (~> 0.1, >= 0.1.2)
109
+ sys-uname (~> 1.2, >= 1.2.2)
110
+ cucumber-core (10.1.1)
111
+ cucumber-gherkin (~> 22.0, >= 22.0.0)
112
+ cucumber-messages (~> 17.1, >= 17.1.1)
113
+ cucumber-tag-expressions (~> 4.1, >= 4.1.0)
114
+ cucumber-create-meta (6.0.4)
115
+ cucumber-messages (~> 17.1, >= 17.1.1)
116
+ sys-uname (~> 1.2, >= 1.2.2)
117
+ cucumber-cucumber-expressions (14.0.0)
118
+ cucumber-gherkin (22.0.0)
119
+ cucumber-messages (~> 17.1, >= 17.1.1)
120
+ cucumber-html-formatter (17.0.0)
121
+ cucumber-messages (~> 17.1, >= 17.1.0)
122
+ cucumber-messages (17.1.1)
123
+ cucumber-rails (2.5.0)
124
+ capybara (>= 2.18, < 4)
125
+ cucumber (>= 3.2, < 8)
126
+ mime-types (~> 3.3)
127
+ nokogiri (~> 1.10)
128
+ railties (>= 5.0, < 8)
129
+ rexml (~> 3.0)
130
+ webrick (~> 1.7)
131
+ cucumber-tag-expressions (4.1.0)
132
+ cucumber-wire (6.2.1)
133
+ cucumber-core (~> 10.1, >= 10.1.0)
134
+ cucumber-cucumber-expressions (~> 14.0, >= 14.0.0)
135
+ cucumber_priority (0.3.3)
136
+ cucumber
137
+ database_cleaner (2.0.1)
138
+ database_cleaner-active_record (~> 2.0.0)
139
+ database_cleaner-active_record (2.0.0)
140
+ activerecord (>= 5.a)
141
+ database_cleaner-core (~> 2.0.0)
142
+ database_cleaner-core (2.0.1)
143
+ diff-lcs (1.5.0)
144
+ digest (3.1.0)
145
+ erubi (1.10.0)
146
+ erubis (2.7.0)
147
+ ffi (1.15.5)
148
+ gemika (0.5.0)
149
+ globalid (1.0.0)
150
+ activesupport (>= 5.0)
151
+ haml (5.2.1)
152
+ temple (>= 0.8.0)
153
+ tilt
154
+ haml-rails (2.0.1)
155
+ actionpack (>= 5.1)
156
+ activesupport (>= 5.1)
157
+ haml (>= 4.0.6, < 6.0)
158
+ html2haml (>= 1.0.1)
159
+ railties (>= 5.1)
160
+ html2haml (2.2.0)
161
+ erubis (~> 2.7.0)
162
+ haml (>= 4.0, < 6)
163
+ nokogiri (>= 1.6.0)
164
+ ruby_parser (~> 3.5)
165
+ i18n (1.10.0)
166
+ concurrent-ruby (~> 1.0)
167
+ io-wait (0.2.1)
168
+ launchy (2.5.0)
169
+ addressable (~> 2.7)
170
+ loofah (2.15.0)
171
+ crass (~> 1.0.2)
172
+ nokogiri (>= 1.5.9)
173
+ mail (2.7.1)
174
+ mini_mime (>= 0.1.1)
175
+ marcel (1.0.2)
176
+ matrix (0.4.2)
177
+ method_source (1.0.0)
178
+ mime-types (3.4.1)
179
+ mime-types-data (~> 3.2015)
180
+ mime-types-data (3.2022.0105)
181
+ mini_mime (1.1.2)
182
+ minitest (5.15.0)
183
+ multi_test (0.1.2)
184
+ net-imap (0.2.3)
185
+ digest
186
+ net-protocol
187
+ strscan
188
+ net-pop (0.1.1)
189
+ digest
190
+ net-protocol
191
+ timeout
192
+ net-protocol (0.1.2)
193
+ io-wait
194
+ timeout
195
+ net-smtp (0.3.1)
196
+ digest
197
+ net-protocol
198
+ timeout
199
+ nio4r (2.5.8)
200
+ nokogiri (1.13.3-x86_64-linux)
201
+ racc (~> 1.4)
202
+ pry (0.14.0)
203
+ coderay (~> 1.1)
204
+ method_source (~> 1.0)
205
+ public_suffix (4.0.6)
206
+ racc (1.6.0)
207
+ rack (2.2.3)
208
+ rack-test (1.1.0)
209
+ rack (>= 1.0, < 3)
210
+ rails (7.0.2.3)
211
+ actioncable (= 7.0.2.3)
212
+ actionmailbox (= 7.0.2.3)
213
+ actionmailer (= 7.0.2.3)
214
+ actionpack (= 7.0.2.3)
215
+ actiontext (= 7.0.2.3)
216
+ actionview (= 7.0.2.3)
217
+ activejob (= 7.0.2.3)
218
+ activemodel (= 7.0.2.3)
219
+ activerecord (= 7.0.2.3)
220
+ activestorage (= 7.0.2.3)
221
+ activesupport (= 7.0.2.3)
222
+ bundler (>= 1.15.0)
223
+ railties (= 7.0.2.3)
224
+ rails-dom-testing (2.0.3)
225
+ activesupport (>= 4.2.0)
226
+ nokogiri (>= 1.6)
227
+ rails-html-sanitizer (1.4.2)
228
+ loofah (~> 2.3)
229
+ railties (7.0.2.3)
230
+ actionpack (= 7.0.2.3)
231
+ activesupport (= 7.0.2.3)
232
+ method_source
233
+ rake (>= 12.2)
234
+ thor (~> 1.0)
235
+ zeitwerk (~> 2.5)
236
+ rake (13.0.6)
237
+ regexp_parser (2.2.1)
238
+ rexml (3.2.4)
239
+ rspec (3.10.0)
240
+ rspec-core (~> 3.10.0)
241
+ rspec-expectations (~> 3.10.0)
242
+ rspec-mocks (~> 3.10.0)
243
+ rspec-core (3.10.1)
244
+ rspec-support (~> 3.10.0)
245
+ rspec-expectations (3.10.1)
246
+ diff-lcs (>= 1.2.0, < 2.0)
247
+ rspec-support (~> 3.10.0)
248
+ rspec-mocks (3.10.2)
249
+ diff-lcs (>= 1.2.0, < 2.0)
250
+ rspec-support (~> 3.10.0)
251
+ rspec-rails (5.0.1)
252
+ actionpack (>= 5.2)
253
+ activesupport (>= 5.2)
254
+ railties (>= 5.2)
255
+ rspec-core (~> 3.10)
256
+ rspec-expectations (~> 3.10)
257
+ rspec-mocks (~> 3.10)
258
+ rspec-support (~> 3.10)
259
+ rspec-support (3.10.2)
260
+ ruby_parser (3.15.1)
261
+ sexp_processor (~> 4.9)
262
+ rubyzip (2.3.0)
263
+ selenium-webdriver (3.142.7)
264
+ childprocess (>= 0.5, < 4.0)
265
+ rubyzip (>= 1.2.2)
266
+ sexp_processor (4.15.2)
267
+ sqlite3 (1.4.2)
268
+ strscan (3.0.1)
269
+ sys-uname (1.2.2)
270
+ ffi (~> 1.1)
271
+ temple (0.8.2)
272
+ thor (1.2.1)
273
+ tilt (2.0.10)
274
+ timeout (0.2.0)
275
+ tzinfo (2.0.4)
276
+ concurrent-ruby (~> 1.0)
277
+ webrick (1.7.0)
278
+ websocket-driver (0.7.5)
279
+ websocket-extensions (>= 0.1.0)
280
+ websocket-extensions (0.1.5)
281
+ xpath (3.2.0)
282
+ nokogiri (~> 1.8)
283
+ zeitwerk (2.5.4)
284
+
285
+ PLATFORMS
286
+ x86_64-linux
287
+
288
+ DEPENDENCIES
289
+ byebug
290
+ capybara (~> 3)
291
+ capybara-screenshot
292
+ cucumber
293
+ cucumber-rails
294
+ database_cleaner
295
+ gemika
296
+ haml-rails
297
+ pry
298
+ rails (~> 7)
299
+ rexml
300
+ rspec-rails
301
+ selenium-webdriver
302
+ spreewald!
303
+ sqlite3
304
+ webrick
305
+
306
+ RUBY VERSION
307
+ ruby 3.0.0p0
308
+
309
+ BUNDLED WITH
310
+ 2.2.24
@@ -22,7 +22,7 @@ Bundler.require(*Rails.groups)
22
22
  module Rails6Capybara3
23
23
  class Application < Rails::Application
24
24
  # Initialize configuration defaults for originally generated Rails version.
25
- config.load_defaults 6.0
25
+ config.load_defaults 7.0
26
26
 
27
27
  # Settings in config/environments/* take precedence over those specified here.
28
28
  # Application configuration can go into files in config/initializers
File without changes