Skip to content

Commit

Permalink
Pending tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bestie committed Mar 27, 2024
1 parent 5200577 commit 15ccad4
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions spec/integration/kubernetes_probes_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,22 @@
end
end

context "configuring the probe with files" do
let(:env_vars) { {} }

it "loads config/racecar.rb"

context "when RAILS_ENV is set" do
let(:env_vars) { { "RAILS_ENV" => "anything" } }

it "loads config/racecar.yml"
end

context "RAILS_ENV is not set" do
it "does not load config/racecar.yml"
end
end

let(:file_path) { "/tmp/racecar-liveness-file-#{SecureRandom.hex(4)}" }
let(:max_interval) { 1 }
let(:racecar_cli) { Racecar::Cli.new([consumer_class.name.to_s]) }
Expand Down

0 comments on commit 15ccad4

Please sign in to comment.