Sha256: d36ccec8a5be874a5fb80ea6700c06d15445b77f9d628cbac33e1043c29031ef
Contents?: true
Size: 606 Bytes
Versions: 3
Compression:
Stored size: 606 Bytes
Contents
# frozen_string_literal: true shared_examples 'uses ssl_setting' do context do it do %w[staging production].each do |env| expect(content("config/environments/#{env}.rb")).to match('config.force_ssl') end force_ssl_environment_test end def force_ssl_environment_test %w[ .env.sample .environments/.env.local .environments/.env.staging .environments/.env.production ].each do |env| expect(File).to exist(file_project_path(env)) expect(content(env)).to match('RAILS_FORCE_SSL=') end end end end
Version data entries
3 entries across 3 versions & 1 rubygems