spreewald 3.0.3 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test.yml +40 -0
  3. data/CHANGELOG.md +4 -0
  4. data/Gemfile +1 -1
  5. data/Gemfile.lock +2 -2
  6. data/Gemfile.ruby245 +3 -0
  7. data/Gemfile.ruby245.lock +10 -1
  8. data/Gemfile.ruby266 +3 -0
  9. data/Gemfile.ruby266.lock +12 -2
  10. data/README.md +41 -3
  11. data/Rakefile +34 -19
  12. data/features/binary.feature +2 -2
  13. data/features/support/step_definitions/custom_steps.rb +10 -0
  14. data/lib/spreewald.rb +1 -0
  15. data/lib/spreewald/email_steps.rb +3 -1
  16. data/lib/spreewald/frame_steps.rb +77 -0
  17. data/lib/spreewald_support/mail_finder.rb +6 -10
  18. data/lib/spreewald_support/mail_to_plaintext_converter.rb +42 -0
  19. data/lib/spreewald_support/unsupported_email_header.rb +22 -0
  20. data/lib/spreewald_support/version.rb +1 -1
  21. data/spec/spreewald_support/mail_to_plaintext_converter_spec.rb +60 -0
  22. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/Gemfile +1 -1
  23. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/Gemfile.lock +14 -16
  24. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/README.rdoc +0 -0
  25. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/Rakefile +0 -0
  26. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/app +0 -0
  27. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/bin/bundle +0 -0
  28. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/bin/rails +0 -0
  29. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/bin/rake +0 -0
  30. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/bin/setup +0 -0
  31. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config.ru +0 -0
  32. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/application.rb +0 -0
  33. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/boot.rb +0 -0
  34. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/cucumber.yml +0 -0
  35. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/database.yml +0 -0
  36. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/environment.rb +0 -0
  37. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/environments/development.rb +0 -0
  38. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/environments/test.rb +0 -0
  39. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/backtrace_silencers.rb +0 -0
  40. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/cookies_serializer.rb +0 -0
  41. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/filter_parameter_logging.rb +0 -0
  42. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/inflections.rb +0 -0
  43. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/mime_types.rb +0 -0
  44. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/session_store.rb +0 -0
  45. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/silence_deprecation_warnings.rb +0 -0
  46. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/to_time_preserves_timezone.rb +0 -0
  47. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/wrap_parameters.rb +0 -0
  48. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/locales/en.yml +0 -0
  49. data/tests/{rails-3_capybara-1 → rails-4_capybara-2}/config/routes.rb +0 -0
  50. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/secrets.yml +0 -0
  51. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/db +0 -0
  52. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/browser_tab_steps.feature +0 -0
  53. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/development_steps.feature +0 -0
  54. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/email_steps.feature +0 -0
  55. data/tests/rails-4_capybara-2/features/iframe_steps.feature +1 -0
  56. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/overriding.feature +0 -0
  57. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/session_steps.feature +0 -0
  58. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/step_definitions/overriding_steps.rb +0 -0
  59. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/step_definitions/test_steps.rb +0 -0
  60. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/support/env.rb +0 -0
  61. data/tests/{rails-3_capybara-1 → rails-4_capybara-2}/features/support/paths.rb +0 -0
  62. data/tests/{rails-3_capybara-1 → rails-4_capybara-2}/features/support/selectors.rb +0 -0
  63. data/tests/rails-4_capybara-2/features/support/selenium.rb +1 -0
  64. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/table_steps.feature +0 -0
  65. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/time_steps.feature +0 -0
  66. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/web_steps.feature +0 -0
  67. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/lib/tasks/cucumber.rake +0 -0
  68. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/log/.keep +0 -0
  69. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/public/404.html +0 -0
  70. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/public/422.html +0 -0
  71. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/public/500.html +0 -0
  72. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/public/favicon.ico +0 -0
  73. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/public/fixture_files +0 -0
  74. data/tests/{rails-3_capybara-1 → rails-4_capybara-2}/script/cucumber +0 -0
  75. data/tests/rails-6_capybara-3/Gemfile.lock +2 -2
  76. data/tests/rails-6_capybara-3/features/iframe_steps.feature +1 -0
  77. data/tests/rails-6_capybara-3/features/support/selenium.rb +1 -0
  78. data/tests/shared/app/controllers/iframes_controller.rb +11 -0
  79. data/tests/shared/app/controllers/static_pages_controller.rb +12 -8
  80. data/tests/shared/app/views/iframes/iframe_1_content.haml +12 -0
  81. data/tests/shared/app/views/iframes/iframe_2_content.haml +12 -0
  82. data/tests/shared/app/views/static_pages/iframe.haml +3 -0
  83. data/tests/shared/config/routes.rb +4 -0
  84. data/tests/shared/features/shared/email_steps.feature +64 -0
  85. data/tests/shared/features/shared/iframe_steps.feature +38 -0
  86. data/tests/shared/features/shared/step_definitions/test_steps.rb +5 -6
  87. data/tests/shared/features/support/selenium.rb +10 -0
  88. metadata +128 -183
  89. data/.travis.yml +0 -29
  90. data/Gemfile.ruby218 +0 -7
  91. data/Gemfile.ruby218.lock +0 -58
  92. data/tests/rails-3_capybara-1/.ruby-version +0 -1
  93. data/tests/rails-3_capybara-1/Gemfile +0 -20
  94. data/tests/rails-3_capybara-1/Gemfile.lock +0 -182
  95. data/tests/rails-3_capybara-1/Rakefile +0 -18
  96. data/tests/rails-3_capybara-1/app +0 -1
  97. data/tests/rails-3_capybara-1/config.ru +0 -4
  98. data/tests/rails-3_capybara-1/config/application.rb +0 -29
  99. data/tests/rails-3_capybara-1/config/boot.rb +0 -15
  100. data/tests/rails-3_capybara-1/config/cucumber.yml +0 -1
  101. data/tests/rails-3_capybara-1/config/database.yml +0 -1
  102. data/tests/rails-3_capybara-1/config/environment.rb +0 -7
  103. data/tests/rails-3_capybara-1/config/initializers/backtrace_silencers.rb +0 -9
  104. data/tests/rails-3_capybara-1/config/initializers/inflections.rb +0 -12
  105. data/tests/rails-3_capybara-1/config/initializers/mime_types.rb +0 -7
  106. data/tests/rails-3_capybara-1/config/initializers/secret_token.rb +0 -9
  107. data/tests/rails-3_capybara-1/config/initializers/session_store.rb +0 -5
  108. data/tests/rails-3_capybara-1/db +0 -1
  109. data/tests/rails-3_capybara-1/features/shared +0 -1
  110. data/tests/rails-3_capybara-1/features/support/env.rb +0 -65
  111. data/tests/rails-3_capybara-1/features/support/selenium.rb +0 -3
  112. data/tests/rails-3_capybara-1/public +0 -1
  113. data/tests/rails-3_capybara-1/script/rails +0 -6
  114. data/tests/rails-3_capybara-2/.ruby-version +0 -1
  115. data/tests/rails-3_capybara-2/Gemfile +0 -21
  116. data/tests/rails-3_capybara-2/Gemfile.lock +0 -191
  117. data/tests/rails-3_capybara-2/Rakefile +0 -1
  118. data/tests/rails-3_capybara-2/app +0 -1
  119. data/tests/rails-3_capybara-2/config +0 -1
  120. data/tests/rails-3_capybara-2/config.ru +0 -1
  121. data/tests/rails-3_capybara-2/db +0 -1
  122. data/tests/rails-3_capybara-2/features +0 -1
  123. data/tests/rails-3_capybara-2/public +0 -1
  124. data/tests/rails-3_capybara-2/script +0 -1
  125. data/tests/rails-4_capybara-3/config/routes.rb +0 -1
  126. data/tests/rails-4_capybara-3/features/support/paths.rb +0 -1
  127. data/tests/rails-4_capybara-3/features/support/selectors.rb +0 -1
  128. data/tests/rails-4_capybara-3/features/support/selenium.rb +0 -3
  129. data/tests/rails-4_capybara-3/script/cucumber +0 -10
  130. data/tests/rails-6_capybara-3/features/support/selenium.rb +0 -3
@@ -1 +0,0 @@
1
- ../shared/db
@@ -1 +0,0 @@
1
- ../../shared/features/shared
@@ -1,65 +0,0 @@
1
- # IMPORTANT: This file is generated by cucumber-rails - edit at your own peril.
2
- # It is recommended to regenerate this file in the future when you upgrade to a
3
- # newer version of cucumber-rails. Consider adding your own code to a new file
4
- # instead of editing this one. Cucumber will automatically load all features/**/*.rb
5
- # files.
6
-
7
- ENV["RAILS_ENV"] ||= "test"
8
-
9
- require 'cucumber/rails'
10
- # require 'capybara/rails'
11
- # require 'spec/support/blueprints'
12
- # require 'cucumber/rspec/doubles'
13
- # require File.expand_path(File.join(File.dirname(__FILE__), "..", "support", "selectors"))
14
-
15
- # load Spreewald steps
16
- require 'spreewald/all_steps'
17
-
18
- # Capybara defaults to XPath selectors rather than Webrat's default of CSS3. In
19
- # order to ease the transition to Capybara we set the default here. If you'd
20
- # prefer to use XPath just remove this line and adjust any selectors in your
21
- # steps to use the XPath syntax.
22
- Capybara.default_selector = :css
23
-
24
- # By default, any exception happening in your Rails application will bubble up
25
- # to Cucumber so that your scenario will fail. This is a different from how
26
- # your application behaves in the production environment, where an error page will
27
- # be rendered instead.
28
- #
29
- # Sometimes we want to override this default behaviour and allow Rails to rescue
30
- # exceptions and display an error page (just like when the app is running in production).
31
- # Typical scenarios where you want to do this is when you test your error pages.
32
- # There are two ways to allow Rails to rescue exceptions:
33
- #
34
- # 1) Tag your scenario (or feature) with @allow-rescue
35
- #
36
- # 2) Set the value below to true. Beware that doing this globally is not
37
- # recommended as it will mask a lot of errors for you!
38
- #
39
- ActionController::Base.allow_rescue = false
40
-
41
- # Remove/comment out the lines below if your app doesn't have a database.
42
- # For some databases (like MongoDB and CouchDB) you may need to use :truncation instead.
43
- DatabaseCleaner.strategy = :transaction
44
-
45
- # You may also want to configure DatabaseCleaner to use different strategies for certain features and scenarios.
46
- # See the DatabaseCleaner documentation for details. Example:
47
- #
48
- # Before('@no-txn,@selenium,@culerity,@celerity,@javascript') do
49
- # # { :except => [:widgets] } may not do what you expect here
50
- # # as tCucumber::Rails::Database.javascript_strategy overrides
51
- # # this setting.
52
- # DatabaseCleaner.strategy = :truncation
53
- # end
54
- #
55
- # Before('~@no-txn', '~@selenium', '~@culerity', '~@celerity', '~@javascript') do
56
- # DatabaseCleaner.strategy = :truncation
57
- # end
58
- #
59
-
60
- # Possible values are :truncation and :transaction
61
- # The :transaction strategy is faster, but might give you threading problems.
62
- # See https://github.com/cucumber/cucumber-rails/blob/master/features/choose_javascript_database_strategy.feature
63
- # Cucumber::Rails::Database.javascript_strategy = :deletion
64
-
65
- Capybara.default_wait_time = 5
@@ -1,3 +0,0 @@
1
- Capybara.register_driver :selenium do |app|
2
- Capybara::Selenium::Driver.new(app, browser: :chrome)
3
- end
@@ -1 +0,0 @@
1
- ../shared/public
@@ -1,6 +0,0 @@
1
- #!/usr/bin/env ruby1.8
2
- # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
-
4
- APP_PATH = File.expand_path('../../config/application', __FILE__)
5
- require File.expand_path('../../config/boot', __FILE__)
6
- require 'rails/commands'
@@ -1 +0,0 @@
1
- 2.1.8
@@ -1,21 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gem 'rails', '~>3.2'
4
- gem 'sqlite3', :platform => :ruby
5
- gem 'haml-rails'
6
- gem 'gemika'
7
-
8
- gem 'ruby-debug', :platforms => :ruby_18
9
- gem 'pry'
10
-
11
- group :test do
12
- gem 'database_cleaner'
13
- gem 'launchy'
14
- gem 'capybara'#, "~>2"
15
- gem 'cucumber-rails'
16
- gem 'cucumber', '1.3.8', require: false
17
- gem 'selenium-webdriver'
18
- gem 'rspec-rails'
19
- gem 'spreewald', :path => '../..'
20
- gem 'timecop'
21
- end
@@ -1,191 +0,0 @@
1
- PATH
2
- remote: ../..
3
- specs:
4
- spreewald (3.0.3)
5
- cucumber
6
- cucumber_priority (>= 0.3.0)
7
- rspec (>= 2.13.0)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- actionmailer (3.2.13)
13
- actionpack (= 3.2.13)
14
- mail (~> 2.5.3)
15
- actionpack (3.2.13)
16
- activemodel (= 3.2.13)
17
- activesupport (= 3.2.13)
18
- builder (~> 3.0.0)
19
- erubis (~> 2.7.0)
20
- journey (~> 1.0.4)
21
- rack (~> 1.4.5)
22
- rack-cache (~> 1.2)
23
- rack-test (~> 0.6.1)
24
- sprockets (~> 2.2.1)
25
- activemodel (3.2.13)
26
- activesupport (= 3.2.13)
27
- builder (~> 3.0.0)
28
- activerecord (3.2.13)
29
- activemodel (= 3.2.13)
30
- activesupport (= 3.2.13)
31
- arel (~> 3.0.2)
32
- tzinfo (~> 0.3.29)
33
- activeresource (3.2.13)
34
- activemodel (= 3.2.13)
35
- activesupport (= 3.2.13)
36
- activesupport (3.2.13)
37
- i18n (= 0.6.1)
38
- multi_json (~> 1.0)
39
- addressable (2.2.8)
40
- arel (3.0.2)
41
- builder (3.0.4)
42
- capybara (2.2.1)
43
- mime-types (>= 1.16)
44
- nokogiri (>= 1.3.3)
45
- rack (>= 1.0.0)
46
- rack-test (>= 0.5.4)
47
- xpath (~> 2.0)
48
- childprocess (0.3.9)
49
- ffi (~> 1.0, >= 1.0.11)
50
- coderay (1.1.2)
51
- columnize (0.3.6)
52
- cucumber (1.3.8)
53
- builder (>= 2.1.2)
54
- diff-lcs (>= 1.1.3)
55
- gherkin (~> 2.12.1)
56
- multi_json (>= 1.7.5, < 2.0)
57
- multi_test (>= 0.0.2)
58
- cucumber-rails (1.4.0)
59
- capybara (>= 1.1.2)
60
- cucumber (>= 1.2.0)
61
- nokogiri (>= 1.5.0)
62
- rails (>= 3.0.0)
63
- cucumber_priority (0.3.2)
64
- cucumber
65
- database_cleaner (1.0.1)
66
- diff-lcs (1.3)
67
- erubis (2.7.0)
68
- ffi (1.9.3)
69
- gemika (0.3.4)
70
- gherkin (2.12.2)
71
- multi_json (~> 1.3)
72
- haml (4.0.3)
73
- tilt
74
- haml-rails (0.4)
75
- actionpack (>= 3.1, < 4.1)
76
- activesupport (>= 3.1, < 4.1)
77
- haml (>= 3.1, < 4.1)
78
- railties (>= 3.1, < 4.1)
79
- hike (1.2.2)
80
- i18n (0.6.1)
81
- journey (1.0.4)
82
- json (1.8.0)
83
- launchy (2.0.5)
84
- addressable (~> 2.2.6)
85
- linecache (0.46)
86
- rbx-require-relative (> 0.0.4)
87
- mail (2.5.4)
88
- mime-types (~> 1.16)
89
- treetop (~> 1.4.8)
90
- method_source (0.9.2)
91
- mime-types (1.25.1)
92
- mini_portile (0.5.2)
93
- multi_json (1.12.1)
94
- multi_test (0.1.2)
95
- nokogiri (1.6.1)
96
- mini_portile (~> 0.5.0)
97
- polyglot (0.3.3)
98
- pry (0.12.2)
99
- coderay (~> 1.1.0)
100
- method_source (~> 0.9.0)
101
- rack (1.4.5)
102
- rack-cache (1.2)
103
- rack (>= 0.4)
104
- rack-ssl (1.3.3)
105
- rack
106
- rack-test (0.6.2)
107
- rack (>= 1.0)
108
- rails (3.2.13)
109
- actionmailer (= 3.2.13)
110
- actionpack (= 3.2.13)
111
- activerecord (= 3.2.13)
112
- activeresource (= 3.2.13)
113
- activesupport (= 3.2.13)
114
- bundler (~> 1.0)
115
- railties (= 3.2.13)
116
- railties (3.2.13)
117
- actionpack (= 3.2.13)
118
- activesupport (= 3.2.13)
119
- rack-ssl (~> 1.3.2)
120
- rake (>= 0.8.7)
121
- rdoc (~> 3.4)
122
- thor (>= 0.14.6, < 2.0)
123
- rake (10.0.4)
124
- rbx-require-relative (0.0.9)
125
- rdoc (3.12.2)
126
- json (~> 1.4)
127
- rspec (2.14.1)
128
- rspec-core (~> 2.14.0)
129
- rspec-expectations (~> 2.14.0)
130
- rspec-mocks (~> 2.14.0)
131
- rspec-core (2.14.8)
132
- rspec-expectations (2.14.5)
133
- diff-lcs (>= 1.1.3, < 2.0)
134
- rspec-mocks (2.14.6)
135
- rspec-rails (2.14.0)
136
- actionpack (>= 3.0)
137
- activesupport (>= 3.0)
138
- railties (>= 3.0)
139
- rspec-core (~> 2.14.0)
140
- rspec-expectations (~> 2.14.0)
141
- rspec-mocks (~> 2.14.0)
142
- ruby-debug (0.10.4)
143
- columnize (>= 0.1)
144
- ruby-debug-base (~> 0.10.4.0)
145
- ruby-debug-base (0.10.4)
146
- linecache (>= 0.3)
147
- rubyzip (1.1.0)
148
- selenium-webdriver (2.39.0)
149
- childprocess (>= 0.2.5)
150
- multi_json (~> 1.0)
151
- rubyzip (~> 1.0)
152
- websocket (~> 1.0.4)
153
- sprockets (2.2.2)
154
- hike (~> 1.2)
155
- multi_json (~> 1.0)
156
- rack (~> 1.0)
157
- tilt (~> 1.1, != 1.3.0)
158
- sqlite3 (1.3.8)
159
- thor (0.18.1)
160
- tilt (1.4.1)
161
- timecop (0.9.1)
162
- treetop (1.4.12)
163
- polyglot
164
- polyglot (>= 0.3.1)
165
- tzinfo (0.3.37)
166
- websocket (1.0.7)
167
- xpath (2.0.0)
168
- nokogiri (~> 1.3)
169
-
170
- PLATFORMS
171
- ruby
172
-
173
- DEPENDENCIES
174
- capybara
175
- cucumber (= 1.3.8)
176
- cucumber-rails
177
- database_cleaner
178
- gemika
179
- haml-rails
180
- launchy
181
- pry
182
- rails (~> 3.2)
183
- rspec-rails
184
- ruby-debug
185
- selenium-webdriver
186
- spreewald!
187
- sqlite3
188
- timecop
189
-
190
- BUNDLED WITH
191
- 1.17.3
@@ -1 +0,0 @@
1
- ../rails-3_capybara-1/Rakefile
@@ -1 +0,0 @@
1
- ../rails-3_capybara-1/app
@@ -1 +0,0 @@
1
- ../rails-3_capybara-1/config
@@ -1 +0,0 @@
1
- ../rails-3_capybara-1/config.ru
@@ -1 +0,0 @@
1
- ../rails-3_capybara-1/db
@@ -1 +0,0 @@
1
- ../rails-3_capybara-1/features/
@@ -1 +0,0 @@
1
- ../rails-3_capybara-1/public
@@ -1 +0,0 @@
1
- ../rails-3_capybara-1/script/
@@ -1 +0,0 @@
1
- ../../shared/config/routes.rb
@@ -1 +0,0 @@
1
- ../../../shared/features/support/paths.rb
@@ -1 +0,0 @@
1
- ../../../shared/features/support/selectors.rb
@@ -1,3 +0,0 @@
1
- Capybara.register_driver :selenium do |app|
2
- Capybara::Selenium::Driver.new(app, browser: :chrome)
3
- end
@@ -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
@@ -1,3 +0,0 @@
1
- Capybara.register_driver :selenium do |app|
2
- Capybara::Selenium::Driver.new(app, browser: :chrome)
3
- end