Sha256: 75a7926499961d11afe29a7eb644337428f70438568a4703c61a6236e09f0139

Contents?: true

Size: 241 Bytes

Versions: 6

Compression:

Stored size: 241 Bytes

Contents

require 'spec_helper'

describe ENVied::Variable do
  def variable(*args)
    described_class.new(*args)
  end

  def set_env(env)
    stub_const("ENV", env)
  end

  describe 'an instance' do
    subject { variable(:A, :String) }
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
envied-0.9.0 spec/variable_spec.rb
envied-0.8.2 spec/variable_spec.rb
envied-0.8.1 spec/variable_spec.rb
envied-0.8.0 spec/variable_spec.rb
envied-0.7.2 spec/variable_spec.rb
envied-0.7.1 spec/variable_spec.rb