Sha256: 7c732e8f2eab31cea72adbc713dd49f8c9589e6d11d58213bf7ed3e433c16192

Contents?: true

Size: 384 Bytes

Versions: 1

Compression:

Stored size: 384 Bytes

Contents

# frozen_string_literal: true

require 'support/env_mock'

RSpec.describe RSpeed::Variable, '.profile' do
  it { expect(described_class.profile).to eq('rspeed_profile_1') }

  context 'when env name is given' do
    it 'includes the name' do
      EnvMock.mock(rspeed_name: 'name') do
        expect(described_class.profile).to eq('rspeed_profile_name_1')
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rspeed-0.5.2 spec/models/rspeed/variable/pipe_profile_spec.rb