Skip to content

Commit

Permalink
add --scheme http to rspec tests on delete-remote
Browse files Browse the repository at this point in the history
  • Loading branch information
gschoeni committed Feb 17, 2025
1 parent 607914e commit 84fd15e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions cli-test/spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 84fd15e

Please sign in to comment.