Sha256: 1cb149a2cd8807c04e37342c66f05e4d9615a86c8612c2546a7f64abf87f8899

Contents?: true

Size: 436 Bytes

Versions: 4

Compression:

Stored size: 436 Bytes

Contents

require 'spec_helper'
require 'btspm/app_startup'

RSpec.describe Btspm::AppStartup do

  describe '#establish_env_variables_hash' do
    it 'should return hash with env variables' do
      path = 'config/env-props.yml'
      response = Btspm::AppStartup.new(config_file_path: path, environment: Rails.env).establish_env_variables_hash
      expect(response).to include Rails.env => 'Testing Startup Env'
    end
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
btspm-0.0.4 spec/lib/app_startup_spec.rb
btspm-0.0.3 spec/lib/app_startup_spec.rb
btspm-0.0.2 spec/lib/app_startup_spec.rb
btspm-0.0.1 spec/lib/app_startup_spec.rb