質問編集履歴
2
タイトルを修正、Gemfileを追加しました
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
system_specで
|
1
|
+
system_specで Launchy::CommandNotFoundError: Unable to find a browser command.が発生する
|
test
CHANGED
@@ -36,7 +36,7 @@
|
|
36
36
|
|
37
37
|
rspec-rails: 4.0.1
|
38
38
|
|
39
|
-
|
39
|
+
capybara: 3.32.2
|
40
40
|
|
41
41
|
Docker for Mac: 2.2.0.5
|
42
42
|
|
@@ -224,36 +224,6 @@
|
|
224
224
|
|
225
225
|
and want insight about how VCR attempted to handle the request,
|
226
226
|
|
227
|
-
you can use the debug_logger configuration option to log more details [1].
|
228
|
-
|
229
|
-
* If you want VCR to record this request and play it back during future test
|
230
|
-
|
231
|
-
runs, you should wrap your test (or this portion of your test) in a
|
232
|
-
|
233
|
-
`VCR.use_cassette` block [2].
|
234
|
-
|
235
|
-
* If you only want VCR to handle requests made while a cassette is in use,
|
236
|
-
|
237
|
-
configure `allow_http_connections_when_no_cassette = true`. VCR will
|
238
|
-
|
239
|
-
ignore this request since it is made when there is no cassette [3].
|
240
|
-
|
241
|
-
* If you want VCR to ignore this request (and others like it), you can
|
242
|
-
|
243
|
-
set an `ignore_request` callback [4].
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
[1] https://www.relishapp.com/vcr/vcr/v/5-1-0/docs/configuration/debug-logging
|
248
|
-
|
249
|
-
[2] https://www.relishapp.com/vcr/vcr/v/5-1-0/docs/getting-started
|
250
|
-
|
251
|
-
[3] https://www.relishapp.com/vcr/vcr/v/5-1-0/docs/configuration/allow-http-connections-when-no-cassette
|
252
|
-
|
253
|
-
[4] https://www.relishapp.com/vcr/vcr/v/5-1-0/docs/configuration/ignore-request
|
254
|
-
|
255
|
-
================================================================================
|
256
|
-
|
257
227
|
:
|
258
228
|
|
259
229
|
省略(収まりきらない)
|
@@ -292,9 +262,123 @@
|
|
292
262
|
|
293
263
|
|
294
264
|
|
295
|
-
### 該当しそうなコード
|
265
|
+
### 該当しそうなコード6つ
|
266
|
+
|
296
|
-
|
267
|
+
- Gemfile(1 / 6)
|
268
|
+
|
269
|
+
```gemfile
|
270
|
+
|
271
|
+
source 'https://rubygems.org'
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
git_source(:github) do |repo_name|
|
276
|
+
|
277
|
+
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
|
278
|
+
|
279
|
+
"https://github.com/#{repo_name}.git"
|
280
|
+
|
281
|
+
end
|
282
|
+
|
283
|
+
:
|
284
|
+
|
285
|
+
:
|
286
|
+
|
287
|
+
|
288
|
+
|
289
|
+
group :development, :test do
|
290
|
+
|
291
|
+
gem 'awesome_print'
|
292
|
+
|
293
|
+
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
|
294
|
+
|
295
|
+
gem 'factory_bot_rails'
|
296
|
+
|
297
|
+
gem 'rspec-rails'
|
298
|
+
|
299
|
+
gem 'rails-flog', require: 'flog'
|
300
|
+
|
301
|
+
|
302
|
+
|
303
|
+
end
|
304
|
+
|
305
|
+
|
306
|
+
|
307
|
+
group :development do
|
308
|
+
|
309
|
+
gem 'bullet'
|
310
|
+
|
311
|
+
gem 'pry-byebug'
|
312
|
+
|
313
|
+
gem 'pry-rails'
|
314
|
+
|
315
|
+
gem 'letter_opener_web'
|
316
|
+
|
317
|
+
gem 'listen', '>= 3.0.5', '< 3.2'
|
318
|
+
|
319
|
+
gem 'rubocop', require: false
|
320
|
+
|
321
|
+
gem 'rubocop-performance'
|
322
|
+
|
323
|
+
gem 'rubocop-rails', require: false
|
324
|
+
|
325
|
+
gem 'rubocop-rspec', require: false
|
326
|
+
|
327
|
+
gem 'solargraph'
|
328
|
+
|
329
|
+
gem 'spring'
|
330
|
+
|
331
|
+
gem 'spring-commands-rspec'
|
332
|
+
|
333
|
+
gem 'spring-watcher-listen', '~> 2.0.0'
|
334
|
+
|
335
|
+
gem 'web-console', '>= 3.3.0'
|
336
|
+
|
337
|
+
end
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
group :test do
|
342
|
+
|
343
|
+
gem 'capybara'
|
344
|
+
|
345
|
+
gem 'launchy'
|
346
|
+
|
347
|
+
gem 'shoulda-matchers',
|
348
|
+
|
349
|
+
git: 'https://github.com/thoughtbot/shoulda-matchers.git',
|
350
|
+
|
351
|
+
branch: 'rails-5'
|
352
|
+
|
353
|
+
gem 'simplecov'
|
354
|
+
|
355
|
+
gem 'vcr'
|
356
|
+
|
357
|
+
gem 'webdrivers'
|
358
|
+
|
359
|
+
gem 'webmock'
|
360
|
+
|
361
|
+
gem 'database_cleaner'
|
362
|
+
|
363
|
+
gem 'selenium-webdriver'
|
364
|
+
|
365
|
+
# gem 'chromedriver-helper'
|
366
|
+
|
367
|
+
end
|
368
|
+
|
369
|
+
|
370
|
+
|
371
|
+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
372
|
+
|
373
|
+
|
374
|
+
|
375
|
+
```
|
376
|
+
|
377
|
+
|
378
|
+
|
379
|
+
|
380
|
+
|
297
|
-
- docker-compose.yml(
|
381
|
+
- docker-compose.yml(2 / 6)
|
298
382
|
|
299
383
|
```docker
|
300
384
|
|
@@ -386,7 +470,7 @@
|
|
386
470
|
|
387
471
|
|
388
472
|
|
389
|
-
- rails_helper.rb(
|
473
|
+
- rails_helper.rb(3 / 6)
|
390
474
|
|
391
475
|
```ruby
|
392
476
|
|
@@ -466,7 +550,7 @@
|
|
466
550
|
|
467
551
|
|
468
552
|
|
469
|
-
- spec_helper.rb(
|
553
|
+
- spec_helper.rb(4 / 6)
|
470
554
|
|
471
555
|
```ruby
|
472
556
|
|
@@ -508,7 +592,7 @@
|
|
508
592
|
|
509
593
|
|
510
594
|
|
511
|
-
- capybara.rb(
|
595
|
+
- capybara.rb(5 / 6)
|
512
596
|
|
513
597
|
```ruby
|
514
598
|
|
@@ -590,7 +674,7 @@
|
|
590
674
|
|
591
675
|
|
592
676
|
|
593
|
-
- スペックファイル(
|
677
|
+
- スペックファイル(6 / 6)
|
594
678
|
|
595
679
|
```ruby
|
596
680
|
|
1
期待する動作を若干修正しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -274,7 +274,7 @@
|
|
274
274
|
|
275
275
|
- js: trueオプションを付加してもテストがパスするようになること
|
276
276
|
|
277
|
-
- ブラウザ操作を確認できるようになること
|
277
|
+
- ブラウザ操作を視認で確認できるようになること
|
278
278
|
|
279
279
|
|
280
280
|
|