-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add --scheme http to rspec tests on delete-remote
- Loading branch information
Showing
2 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -299,6 +299,8 @@ jobs: | |
- name: Run oxen-server | ||
run: | | ||
mkdir .\data\test\runs | ||
mkdir .\data\test\config | ||
.\target\debug\oxen-server add-user --email [email protected] --name Ox --output user_config.toml | ||
cp user_config.toml data\test\config\user_config.toml | ||
cmd /c "START /B .\target\debug\oxen-server.exe start" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,11 +33,11 @@ def run_system_command(cmd) | |
regexp = ".env".force_encoding('UTF-16LE') | ||
Dotenv.load(regexp.encode('UTF-8')) | ||
run_system_command("oxen config --name ruby-test --email [email protected]") | ||
system("oxen delete-remote --name ox/performance-test --host localhost:3000 -y") | ||
system("oxen delete-remote --name ox/performance-test --host localhost:3000 -y --scheme http") | ||
end | ||
|
||
config.after(:each) do | ||
# Ensure the remote repository is deleted after each test | ||
system("oxen delete-remote --name ox/performance-test --host localhost:3000 -y") | ||
system("oxen delete-remote --name ox/performance-test --host localhost:3000 -y --scheme http") | ||
end | ||
end |