Sha256: 6e9fb68020db3a917826969d981f672ca4843b6ae9ccdecd818c07daca1bf1a0

Contents?: true

Size: 407 Bytes

Versions: 3

Compression:

Stored size: 407 Bytes

Contents

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

    it 'generates a .ruby-version' do
      subject.options = { 'framework' => 'jekyll' }
      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

3 entries across 3 versions & 1 rubygems

Version Path
skellington-0.8.3 spec/jekyll/root_files/rbenv_spec.rb
skellington-0.8.2 spec/jekyll/root_files/rbenv_spec.rb
skellington-0.8.1 spec/jekyll/cli/rbenv_spec.rb