Skip to content

Commit 6b757eb

Browse files
Fix Cucumber tests (#536)
* Update development dependencies * Move development dependencies to the gemspec * Call `setup_aruba`
1 parent 44acf67 commit 6b757eb

File tree

4 files changed

+96
-86
lines changed

4 files changed

+96
-86
lines changed

Gemfile

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
11
source "https://rubygems.org"
22

33
gemspec name: "factory_bot_rails"
4-
5-
gem "appraisal"
6-
gem "aruba"
7-
gem "cucumber"
8-
gem "rake"
9-
gem "rspec-rails"
10-
gem "standard"

Gemfile.lock

Lines changed: 86 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -8,38 +8,38 @@ PATH
88
GEM
99
remote: https://rubygems.org/
1010
specs:
11-
actionpack (8.0.1)
12-
actionview (= 8.0.1)
13-
activesupport (= 8.0.1)
11+
actionpack (8.0.2)
12+
actionview (= 8.0.2)
13+
activesupport (= 8.0.2)
1414
nokogiri (>= 1.8.5)
1515
rack (>= 2.2.4)
1616
rack-session (>= 1.0.1)
1717
rack-test (>= 0.6.3)
1818
rails-dom-testing (~> 2.2)
1919
rails-html-sanitizer (~> 1.6)
2020
useragent (~> 0.16)
21-
actionview (8.0.1)
22-
activesupport (= 8.0.1)
21+
actionview (8.0.2)
22+
activesupport (= 8.0.2)
2323
builder (~> 3.1)
2424
erubi (~> 1.11)
2525
rails-dom-testing (~> 2.2)
2626
rails-html-sanitizer (~> 1.6)
27-
activejob (8.0.1)
28-
activesupport (= 8.0.1)
27+
activejob (8.0.2)
28+
activesupport (= 8.0.2)
2929
globalid (>= 0.3.6)
30-
activemodel (8.0.1)
31-
activesupport (= 8.0.1)
32-
activerecord (8.0.1)
33-
activemodel (= 8.0.1)
34-
activesupport (= 8.0.1)
30+
activemodel (8.0.2)
31+
activesupport (= 8.0.2)
32+
activerecord (8.0.2)
33+
activemodel (= 8.0.2)
34+
activesupport (= 8.0.2)
3535
timeout (>= 0.4.0)
36-
activestorage (8.0.1)
37-
actionpack (= 8.0.1)
38-
activejob (= 8.0.1)
39-
activerecord (= 8.0.1)
40-
activesupport (= 8.0.1)
36+
activestorage (8.0.2)
37+
actionpack (= 8.0.2)
38+
activejob (= 8.0.2)
39+
activerecord (= 8.0.2)
40+
activesupport (= 8.0.2)
4141
marcel (~> 1.0)
42-
activesupport (8.0.1)
42+
activesupport (8.0.2)
4343
base64
4444
benchmark (>= 0.3)
4545
bigdecimal
@@ -62,14 +62,14 @@ GEM
6262
cucumber (>= 8.0, < 10.0)
6363
rspec-expectations (~> 3.4)
6464
thor (~> 1.0)
65-
ast (2.4.2)
66-
base64 (0.2.0)
67-
benchmark (0.4.0)
68-
bigdecimal (3.1.9)
69-
bigdecimal (3.1.9-java)
65+
ast (2.4.3)
66+
base64 (0.3.0)
67+
benchmark (0.4.1)
68+
bigdecimal (3.2.2)
69+
bigdecimal (3.2.2-java)
7070
builder (3.3.0)
7171
concurrent-ruby (1.3.5)
72-
connection_pool (2.5.0)
72+
connection_pool (2.5.3)
7373
contracts (0.17.2)
7474
crass (1.0.6)
7575
cucumber (9.2.1)
@@ -93,143 +93,150 @@ GEM
9393
bigdecimal
9494
cucumber-gherkin (27.0.0)
9595
cucumber-messages (>= 19.1.4, < 23)
96-
cucumber-html-formatter (21.9.0)
96+
cucumber-html-formatter (21.10.1)
9797
cucumber-messages (> 19, < 28)
9898
cucumber-messages (22.0.0)
9999
cucumber-tag-expressions (6.1.2)
100100
date (3.4.1)
101101
date (3.4.1-java)
102-
diff-lcs (1.5.1)
103-
drb (2.2.1)
102+
diff-lcs (1.6.2)
103+
drb (2.2.3)
104+
erb (5.0.1)
105+
erb (5.0.1-java)
104106
erubi (1.13.1)
105-
factory_bot (6.5.1)
107+
factory_bot (6.5.4)
106108
activesupport (>= 6.1.0)
107-
ffi (1.17.1)
108-
ffi (1.17.1-java)
109+
ffi (1.17.2)
110+
ffi (1.17.2-java)
109111
globalid (1.2.1)
110112
activesupport (>= 6.1)
111113
i18n (1.14.7)
112114
concurrent-ruby (~> 1.0)
113115
io-console (0.8.0)
114116
io-console (0.8.0-java)
115-
irb (1.15.1)
117+
irb (1.15.2)
116118
pp (>= 0.6.0)
117119
rdoc (>= 4.0.0)
118120
reline (>= 0.4.2)
119-
jar-dependencies (0.5.4)
120-
json (2.9.1)
121-
json (2.9.1-java)
122-
language_server-protocol (3.17.0.4)
121+
jar-dependencies (0.5.5)
122+
json (2.12.2)
123+
json (2.12.2-java)
124+
language_server-protocol (3.17.0.5)
123125
lint_roller (1.1.0)
124-
logger (1.6.5)
125-
loofah (2.24.0)
126+
logger (1.7.0)
127+
loofah (2.24.1)
126128
crass (~> 1.0.2)
127129
nokogiri (>= 1.12.0)
128130
marcel (1.0.4)
129131
mini_mime (1.1.5)
130-
mini_portile2 (2.8.8)
131-
minitest (5.25.4)
132+
mini_portile2 (2.8.9)
133+
minitest (5.25.5)
132134
multi_test (1.1.0)
133135
mutex_m (0.3.0)
134-
nokogiri (1.18.2)
136+
nokogiri (1.18.8)
135137
mini_portile2 (~> 2.8.2)
136138
racc (~> 1.4)
137-
nokogiri (1.18.2-java)
139+
nokogiri (1.18.8-java)
138140
racc (~> 1.4)
139-
parallel (1.26.3)
140-
parser (3.3.7.1)
141+
parallel (1.27.0)
142+
parser (3.3.8.0)
141143
ast (~> 2.4.1)
142144
racc
143145
pp (0.6.2)
144146
prettyprint
145147
prettyprint (0.2.0)
146-
psych (5.2.3)
148+
prism (1.4.0)
149+
psych (5.2.6)
147150
date
148151
stringio
149-
psych (5.2.3-java)
152+
psych (5.2.6-java)
150153
date
151154
jar-dependencies (>= 0.1.7)
152155
racc (1.8.1)
153156
racc (1.8.1-java)
154-
rack (3.1.9)
155-
rack-session (2.1.0)
157+
rack (3.1.16)
158+
rack-session (2.1.1)
156159
base64 (>= 0.1.0)
157160
rack (>= 3.0.0)
158161
rack-test (2.2.0)
159162
rack (>= 1.3)
160163
rackup (2.2.1)
161164
rack (>= 3)
162-
rails-dom-testing (2.2.0)
165+
rails-dom-testing (2.3.0)
163166
activesupport (>= 5.0.0)
164167
minitest
165168
nokogiri (>= 1.6)
166169
rails-html-sanitizer (1.6.2)
167170
loofah (~> 2.21)
168171
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
169-
railties (8.0.1)
170-
actionpack (= 8.0.1)
171-
activesupport (= 8.0.1)
172+
railties (8.0.2)
173+
actionpack (= 8.0.2)
174+
activesupport (= 8.0.2)
172175
irb (~> 1.13)
173176
rackup (>= 1.0.0)
174177
rake (>= 12.2)
175178
thor (~> 1.0, >= 1.2.2)
176179
zeitwerk (~> 2.6)
177180
rainbow (3.1.1)
178-
rake (13.2.1)
179-
rdoc (6.12.0)
181+
rake (13.3.0)
182+
rdoc (6.14.0)
183+
erb
180184
psych (>= 4.0.0)
181185
regexp_parser (2.10.0)
182-
reline (0.6.0)
186+
reline (0.6.1)
183187
io-console (~> 0.5)
184-
rspec-core (3.13.3)
188+
rspec-core (3.13.4)
185189
rspec-support (~> 3.13.0)
186-
rspec-expectations (3.13.3)
190+
rspec-expectations (3.13.5)
187191
diff-lcs (>= 1.2.0, < 2.0)
188192
rspec-support (~> 3.13.0)
189-
rspec-mocks (3.13.2)
193+
rspec-mocks (3.13.5)
190194
diff-lcs (>= 1.2.0, < 2.0)
191195
rspec-support (~> 3.13.0)
192-
rspec-rails (7.1.1)
193-
actionpack (>= 7.0)
194-
activesupport (>= 7.0)
195-
railties (>= 7.0)
196+
rspec-rails (8.0.0)
197+
actionpack (>= 7.2)
198+
activesupport (>= 7.2)
199+
railties (>= 7.2)
196200
rspec-core (~> 3.13)
197201
rspec-expectations (~> 3.13)
198202
rspec-mocks (~> 3.13)
199203
rspec-support (~> 3.13)
200-
rspec-support (3.13.2)
201-
rubocop (1.70.0)
204+
rspec-support (3.13.4)
205+
rubocop (1.75.8)
202206
json (~> 2.3)
203-
language_server-protocol (>= 3.17.0)
207+
language_server-protocol (~> 3.17.0.2)
208+
lint_roller (~> 1.1.0)
204209
parallel (~> 1.10)
205210
parser (>= 3.3.0.2)
206211
rainbow (>= 2.2.2, < 4.0)
207212
regexp_parser (>= 2.9.3, < 3.0)
208-
rubocop-ast (>= 1.36.2, < 2.0)
213+
rubocop-ast (>= 1.44.0, < 2.0)
209214
ruby-progressbar (~> 1.7)
210215
unicode-display_width (>= 2.4.0, < 4.0)
211-
rubocop-ast (1.38.0)
212-
parser (>= 3.3.1.0)
213-
rubocop-performance (1.23.1)
214-
rubocop (>= 1.48.1, < 2.0)
215-
rubocop-ast (>= 1.31.1, < 2.0)
216+
rubocop-ast (1.45.1)
217+
parser (>= 3.3.7.2)
218+
prism (~> 1.4)
219+
rubocop-performance (1.25.0)
220+
lint_roller (~> 1.1)
221+
rubocop (>= 1.75.0, < 2.0)
222+
rubocop-ast (>= 1.38.0, < 2.0)
216223
ruby-progressbar (1.13.0)
217224
securerandom (0.4.1)
218-
sqlite3 (2.5.0)
225+
sqlite3 (2.7.0)
219226
mini_portile2 (~> 2.8.0)
220-
standard (1.44.0)
227+
standard (1.50.0)
221228
language_server-protocol (~> 3.17.0.2)
222229
lint_roller (~> 1.0)
223-
rubocop (~> 1.70.0)
230+
rubocop (~> 1.75.5)
224231
standard-custom (~> 1.0.0)
225-
standard-performance (~> 1.6)
232+
standard-performance (~> 1.8)
226233
standard-custom (1.0.2)
227234
lint_roller (~> 1.0)
228235
rubocop (~> 1.50)
229-
standard-performance (1.6.0)
236+
standard-performance (1.8.0)
230237
lint_roller (~> 1.1)
231-
rubocop-performance (~> 1.23.0)
232-
stringio (3.1.2)
238+
rubocop-performance (~> 1.25.0)
239+
stringio (3.1.7)
233240
sys-uname (1.3.1)
234241
ffi (~> 1.1)
235242
thor (1.3.2)
@@ -239,9 +246,9 @@ GEM
239246
unicode-display_width (3.1.4)
240247
unicode-emoji (~> 4.0, >= 4.0.4)
241248
unicode-emoji (4.0.4)
242-
uri (1.0.2)
249+
uri (1.0.3)
243250
useragent (0.16.11)
244-
zeitwerk (2.7.1)
251+
zeitwerk (2.7.3)
245252

246253
PLATFORMS
247254
java

factory_bot_rails.gemspec

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,10 @@ Gem::Specification.new do |s|
2626
s.add_development_dependency("activestorage", ">= 6.1.0")
2727
s.add_development_dependency("mutex_m")
2828
s.add_development_dependency("sqlite3")
29+
s.add_development_dependency("appraisal")
30+
s.add_development_dependency("aruba")
31+
s.add_development_dependency("cucumber")
32+
s.add_development_dependency("rake")
33+
s.add_development_dependency("rspec-rails")
34+
s.add_development_dependency("standard")
2935
end

features/support/env.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
config.exit_timeout = Integer ENV.fetch("ARUBA_TIMEOUT", 120)
88
end
99

10+
Before do
11+
setup_aruba
12+
end
13+
1014
if RUBY_PLATFORM == "java"
1115
Aruba.configure do |config|
1216
config.before_cmd do

0 commit comments

Comments
 (0)