Sha256: c713971419edf4c431e43612384c88ef7525d8551ebd55f45cc16299d5ebcb66

Contents?: true

Size: 396 Bytes

Versions: 5

Compression:

Stored size: 396 Bytes

Contents

describe Everything do
  it 'has a version number' do
    expect(Everything::VERSION).not_to be nil
  end

  describe '.path' do
    let(:expected_path) do
      '/some/path/to/your/everything/repo/'
    end

    before do
      ENV['EVERYTHING_PATH'] = expected_path
    end

    it 'is the path from the environment' do
      expect(described_class.path).to eq(expected_path)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
everything-core-0.0.9 spec/everything_spec.rb
everything-core-0.0.8 spec/everything_spec.rb
everything-core-0.0.7 spec/everything_spec.rb
everything-core-0.0.6 spec/everything_spec.rb
everything-core-0.0.4 spec/everything_spec.rb