spec/flipper/adapters/mongo_spec.rb in flipper-mongo-0.11.0.beta3 vs spec/flipper/adapters/mongo_spec.rb in flipper-mongo-0.11.0.beta4

- old
+ new

@@ -5,11 +5,11 @@ Mongo::Logger.logger.level = Logger::INFO RSpec.describe Flipper::Adapters::Mongo do subject { described_class.new(collection) } - let(:host) { ENV['BOXEN_MONGODB_HOST'] || '127.0.0.1' } - let(:port) { ENV['BOXEN_MONGODB_PORT'] || 27017 } + let(:host) { ENV['MONGODB_HOST'] || '127.0.0.1' } + let(:port) { ENV['MONGODB_PORT'] || 27017 } let(:client) do Mongo::Client.new(["#{host}:#{port}"], server_selection_timeout: 1, database: 'testing') end let(:collection) { client['testing'] }