Skip to content
This repository has been archived by the owner on Mar 6, 2020. It is now read-only.

Commit

Permalink
[E2BIG] removed SENSU_CONFIG_FILES from specs
Browse files Browse the repository at this point in the history
  • Loading branch information
portertech committed Jun 12, 2015
1 parent c973050 commit 5473f45
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion spec/loader_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@
expect(ENV["SENSU_LOADED_TEMPFILE"]).to match(/sensu_loaded_files/)
loaded_files = IO.read(ENV["SENSU_LOADED_TEMPFILE"])
expect(loaded_files.split(":")).to eq(@loader.loaded_files)
expect(ENV["SENSU_CONFIG_FILES"].split(":")).to eq(@loader.loaded_files)
end

it "can load settings and determine if certain definitions exist" do
Expand Down
4 changes: 3 additions & 1 deletion spec/settings_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@
expect(settings[:checks][:merger][:command]).to eq("echo -n merger")
expect(settings[:checks][:merger][:subscribers]).to eq(["foo", "bar"])
expect(settings[:checks][:nested][:command]).to eq("true")
expect(ENV["SENSU_CONFIG_FILES"].split(":")).to eq(settings.loaded_files)
expect(ENV["SENSU_LOADED_TEMPFILE"]).to match(/sensu_loaded_files/)
loaded_files = IO.read(ENV["SENSU_LOADED_TEMPFILE"])
expect(loaded_files.split(":")).to eq(settings.loaded_files)
ENV["RABBITMQ_URL"] = nil
end

Expand Down

0 comments on commit 5473f45

Please sign in to comment.