Rename a couple of spec files

Generally are "realworld" specs are the ones using VCR cassettes of real
requests. These files don't use that, so I moved them to a different
place.
This commit is contained in:
David Rodríguez 2025-05-16 19:49:07 +02:00 committed by Hiroshi SHIBATA
parent 6e8be3a634
commit 0f867d97ab
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2
2 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
# frozen_string_literal: true
RSpec.describe "fetching dependencies with a mirrored source", realworld: true do
RSpec.describe "fetching dependencies with a mirrored source" do
let(:mirror) { "https://server.example.org" }
let(:original) { "http://127.0.0.1:#{@port}" }
@ -35,8 +35,8 @@ RSpec.describe "fetching dependencies with a mirrored source", realworld: true d
@port = find_unused_port
@server_uri = "http://127.0.0.1:#{@port}"
require_relative "../support/artifice/endpoint_mirror_source"
require_relative "../support/silent_logger"
require_relative "../../support/artifice/endpoint_mirror_source"
require_relative "../../support/silent_logger"
require "rackup/server"

View File

@ -1,6 +1,6 @@
# frozen_string_literal: true
RSpec.describe "fetching dependencies with a not available mirror", realworld: true do
RSpec.describe "fetching dependencies with a not available mirror" do
let(:mirror) { @mirror_uri }
let(:original) { @server_uri }
let(:server_port) { @server_port }
@ -108,8 +108,8 @@ RSpec.describe "fetching dependencies with a not available mirror", realworld: t
@server_port = find_unused_port
@server_uri = "http://#{host}:#{@server_port}"
require_relative "../support/artifice/endpoint"
require_relative "../support/silent_logger"
require_relative "../../support/artifice/endpoint"
require_relative "../../support/silent_logger"
require "rackup/server"