Sha256: 8ea2a7be2d4ea779b05994a9292aa8cc6fdef1cfd77f0d1ee00b47ceb91546e0

Contents?: true

Size: 356 Bytes

Versions: 2

Compression:

Stored size: 356 Bytes

Contents

module Skellington
  describe CLI do
    let :subject do
      described_class.new
    end

    it 'generates a .ruby-version' do
      subject.generate 'dummy_app'
      expect(File).to exist 'dummy_app/.ruby-version'
      expect('dummy_app/.ruby-version').to have_content (
      """
      /[0-9]*\\.[0-9]*\\.[0-9]*/
      """
      )
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
skellington-0.4.3 spec/cli/rbenv_spec.rb
skellington-0.4.2 spec/cli/rbenv_spec.rb