Sha256: 5f1dc39e6f9eb246b8a84b07e4d559b95950887bb639d4c26740cdc6501558c2
Contents?: true
Size: 812 Bytes
Versions: 42
Compression:
Stored size: 812 Bytes
Contents
# frozen_string_literal: true require 'avm/eac_rails_base0/apache_path' require 'avm/eac_rails_base0/instance' RSpec.describe ::Avm::EacRailsBase0::ApachePath do describe '#no_ssl_site_content' do let(:instance) { ::Avm::EacRailsBase0::Instance.by_id('stub-app_0') } let(:apache_path) { described_class.new(instance) } let(:fixtures_dir) { ::Pathname.new('apache_path_spec_files').expand_path(__dir__) } let(:expect_file) { fixtures_dir.join('stub-app_0_apache_path.conf') } let(:expected_content) { expect_file.read } before do instance.entry(::Avm::Instances::EntryKeys::FS_PATH).write('/path/to/stub-app_0') instance.entry('web.url').write('http://stubapp.net/stub-app_0') end it do expect(apache_path.content).to eq(expected_content) end end end
Version data entries
42 entries across 42 versions & 2 rubygems
Version | Path |
---|---|
avm-tools-0.114.0 | sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/apache_path_spec.rb |
avm-tools-0.113.6 | sub/avm-eac_rails_base0/spec/lib/avm/eac_rails_base0/apache_path_spec.rb |