Sha256: 4c1e43754a818b4e9e8842ba772e211d711b5437737d190cf9715fbba383d11a

Contents?: true

Size: 363 Bytes

Versions: 8

Compression:

Stored size: 363 Bytes

Contents

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

    it 'generates a config/config.yml file' do
      subject.generate 'dummy_app'
      expect('dummy_app/config/config.yml').to have_content (
      """
      #google-analytics-tag: UA-00000000-0
      #github_url: https://github.com
      """
      )
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
skellington-0.8.3 spec/sinatra/app/config_yml_spec.rb
skellington-0.8.2 spec/sinatra/app/config_yml_spec.rb
skellington-0.8.1 spec/sinatra/cli/config_yml_spec.rb
skellington-0.8.0 spec/sinatra/cli/config_yml_spec.rb
skellington-0.7.5 spec/cli/config_yml_spec.rb
skellington-0.7.4 spec/cli/config_yml_spec.rb
skellington-0.7.3 spec/cli/config_yml_spec.rb
skellington-0.7.2 spec/cli/config_yml_spec.rb