Sha256: eaac872228a0f18b042acf0c9aa9dd7e3be6782ae4ff86c2984712f0834c3589

Contents?: true

Size: 355 Bytes

Versions: 6

Compression:

Stored size: 355 Bytes

Contents

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

    it 'generates a .ruby-version' do
      expect { subject.generate 'dummy-app' }.to produce_file 'dummy_app/.ruby-version'
      expect('dummy_app/.ruby-version').to have_content (
      """
      /[0-9]*\\.[0-9]*\\.[0-9]*/
      """
      )
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
skellington-0.8.9 spec/sinatra/root_files/rbenv_spec.rb
skellington-0.8.8 spec/sinatra/root_files/rbenv_spec.rb
skellington-0.8.7 spec/sinatra/root_files/rbenv_spec.rb
skellington-0.8.6 spec/sinatra/root_files/rbenv_spec.rb
skellington-0.8.5 spec/sinatra/root_files/rbenv_spec.rb
skellington-0.8.4 spec/sinatra/root_files/rbenv_spec.rb