Settings doesnt persist the values to the bundle/config

Fixes #3330
This commit is contained in:
Pier-Hugues Pellerin 2015-05-27 16:20:19 -04:00 committed by Jordan Sissel
parent b26f2fc55e
commit aa036b9b8d

View file

@ -41,9 +41,9 @@ describe LogStash::Bundler do
end
after do
expect(::Bundler.settings[:path]).to eq(LogStash::Environment::BUNDLE_DIR)
expect(::Bundler.settings[:gemfile]).to eq(LogStash::Environment::GEMFILE_PATH)
expect(::Bundler.settings[:without]).to eq(options.fetch(:without, []).join(':'))
expect(::Bundler.settings[:path]).to eq(nil)
expect(::Bundler.settings[:gemfile]).to eq(nil)
expect(::Bundler.settings[:without]).to eq(nil)
expect(ENV['GEM_PATH']).to eq(LogStash::Environment.logstash_gem_home)